You may want to use something like this
-Danny
-Original Message-
From: Dean Del Ponte [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2008 10:25 AM
To: user@ant.apache.org
Subject: How to stop ant execution if one target fails
I'm using ant to build my project. When ru
ht-
> Von: John5342 [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 2. Oktober 2008 21:39
> An: Ant Users List
> Betreff: Re: How to stop ant execution if one target fails
>
> If the names of the targets are indeed what they do then most
> of them should
> probably alw
If the names of the targets are indeed what they do then most of them should
probably always be done in a particular order in which case make each one
depend on the next similar to the following.
Then if you were to run "ant jar" then build will be automatically run
before jar and if build
I'm using ant to build my project. When running ant from the command line, I'm
passing in multiple targets. For example:
ant -verbose clean build jar findbugs pmd
Ant will execute the targets clean, build, jar, findbugs, and pmd in that order.
My problem is that if one of the targets fai