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 running

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