Antlet dependencies

"Michael Homeijer" <[email protected]>
Newsgroups gmane.comp.krysalis.devel
Message-ID <00f201c4009e$c32dfbe0$657ba8c0@homeijer>
Hi,

I was planning on splitting the java antlet in a java, javadoc and dist antlet to keep the antlets simple and to keep the changes when switching to another compiler (eg. aspectj) minimal.

I see two ways to handle the dependencies between the antlets.
1. In the main build.

ie. target name="main.package" depends="java.compile, dist.package"

or

2. In the antlets itself

The dist antlet gets a property ${compile.antlet.impl} that specifies the antlet that will perform the compile and a property ${compile.antlet.task} that specifies the task that will perform the compile.

What do you think?

TIA,
Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.