ant-user mailing list archives

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

-----Original Message-----
From: Patrick Laplante [] 
Sent: Tuesday, March 06, 2007 3:11 PM
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? 

Have a look on the sources of Cruisecontrol, especially the
AntBuilder class in the
package and see how they start Ant scripts

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 ...

Regards, Gilbert

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message