On Wed, 20 Feb 2002, Ravi Ryali <[EMAIL PROTECTED]> wrote: > 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.
How about not deleting the jars in the first place and overwrite them with the newer ones after compilation? If <javac> fails, the new jars will never be created and the old ones are still in place. Stefan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
