Adding attribute failOnError="true" works in the CVS version of Ant. I am not sure if it made it into last release of ant (thought I thought it did). You could try that or else grab a nightly build of ant.
On Thu, 15 Nov 2001 05:15, Ryan Grow wrote: > Hello, > > What does ant do when a task such as CVS exits with a non-zero value? I > would like to be able to abort the build with an error message in that > case. In my development so far, it appears as though ant continues > executing the next task for the target when a cvs task fails. Is this > the expected behavior? > > Also, is there documentation that describes how ant handles task > failures in general? I was unable to find documentation for this > subject, but it seems like this must be a common question. > > Thanks, > > Ryan -- Cheers, Pete --------------------------------------------------- Murphy's law - "Anything that can go wrong, will." (Actually, this is Finagle's law, which in itself shows that Finagle was right.) --------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>