ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Error Handling
Date Wed, 19 May 2004 08:52:54 GMT 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

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

View raw message