ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: Aborting a task execution
Date Wed, 07 Mar 2007 07:15:23 GMT
 
Hi,

-----Original Message-----
From: Patrick Laplante [mailto:patlap@cae.com] 
Sent: Tuesday, March 06, 2007 3:11 PM
To: user@ant.apache.org
Subject: Aborting a task execution

/*
I launch ANT within an application and I would like to be able to abort
the execution at any time, is anyone knows how to do it? 
*/

1.
Have a look on the sources of Cruisecontrol, especially the
AntBuilder class in the net.sourceforge.cruisecontrol.builders
package and see how they start Ant scripts

http://cruisecontrol.sourceforge.net/

2. if you need more control / logic in your ant sripts
use the antcontrib tasks, there are i.e. tasks like 
limit,try/catch, if/else, switch ...

http://ant-contrib.sourceforge.net/tasks/tasks/index.html

Regards, Gilbert



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message