RE: How to stop ant execution if one target fails

2008-10-06 Thread Lenhof,Danny
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

AW: How to stop ant execution if one target fails

2008-10-05 Thread Jan.Materne
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

Re: How to stop ant execution if one target fails

2008-10-02 Thread John5342
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

How to stop ant execution if one target fails

2008-10-02 Thread Dean Del Ponte
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