Closed alrighttheresham closed 12 years ago
What about:
- <target name="all" depends="clean, jar" />
+ <target name="all" depends="jar" />
Klacke has now applied his suggested change to the all and main targets, so I'm closing this issue. Similar issues still apply to some other build files.
On a clean build the ant command fails.
classes.dir doesn't exist on clean checkout, so you get
BUILD FAILED /Users/damianoneill/Downloads/tail-f-systems-JNC-47b597a/jnc/build.xml:10: Directory does not exist: /Users/damianoneill/Downloads/tail-f-systems-JNC-47b597a/jnc/bin
You should either refactor target or set failonerror on the delete task to false.