ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shatzer, Larry" <Larry.Shat...@MIROtechnologies.com>
Subject RE: Continuing past errors
Date Tue, 25 Oct 2005 01:35:48 GMT
Since you are already using ant-contrib, look at the try/catch tasks it
offers as well.

> -----Original Message-----
> From: Michael Pelz Sherman [mailto:mpelzsherman@yahoo.com] 
> Sent: Monday, October 24, 2005 4:31 PM
> To: Ant Users List
> Subject: Continuing past errors
> 
> 
> Hi,
> 
> I'm working on a script that I want to continue executing 
> even if an error is
> encountered. The script uses the "foreach" task from 
> ant-contrib to execute the
> same task repeatedly with different arguments. If one of the 
> executions fails,
> I want the script to keep going through the rest rather than stopping
> completely.
> 
> What's the best "ant way" to do this?
> 
> Thanks,
> - Michael
> 

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


Mime
View raw message