Hi,

As a part of building our application using ANT, I delete some jars from
directories, then compile my source files, jar them and copy the new JARs to
the same directories. But when my build fails, I want to retain the older
JAR files so that my testing team has at least the old version to test
against. Without using failOnError of <javac> , how can I do that? 

This is my algorithm:

Step 1: copy the current JARs to a temp folder

Step 2: Run the current build file to build the application

Step 3: If step 2 fails, copy back the JARs from temp to original folders. 

So, all I want from my build file (step 2) is a flag depending on which, I
will execute 3. So, just as <javac> has a failOnError attribute, does the
<project> tag also have any such attributes?

Thank you very much in advance
Ravi



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to