ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <stev...@iseran.com>
Subject Re: Error Handling
Date Wed, 19 May 2004 08:52:54 GMT
Thirumala.Thoka@fairchildsemi.com wrote:
> Hi All,
> 
> How do we capture the error on ANT target, if it does success do one thing 
> otherwise do other thing. So, basically how do we code this requirement.
> 
> I did little bit of try with "failureonerror", "haltonerror" attributes 
> but it's not accepting those attributes at all.
> I would appreciate your ealiest response. Pls. do ask me if you need more 
> details about the question.
> 
> Regards,
> Thiru

This is a user-level question, not one for the developers list.

If you want to catch some exception, use the try/catch taks from 
ant-contrib.sf.net

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


Mime
View raw message