tail-f-systems / JNC

JNC (Java NETCONF Client) is the name of a Java library for communicating with NETCONF agents, and a plugin for pyang (http://code.google.com/p/pyang/) to generate Java classes from YANG models, to be used by the JNC library.
Other
77 stars 87 forks source link

Clean Build #4

Closed alrighttheresham closed 12 years ago

alrighttheresham commented 12 years ago

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.

klacke commented 12 years ago

What about:

-  <target name="all" depends="clean, jar" />
+  <target name="all" depends="jar" />
Emil-Tail-f commented 12 years ago

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.