dcsimg
Error Handling
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Erik_Klein
Posted On:   Tuesday, July 16, 2002 06:24 AM

Is there a way within ANT to determine that a target/step has failed and, if so, to conditionally proceed to other target(s)/step(s) without ANT bailing out (i.e. give me a chance to "Clean Up")?

Re: Error Handling

Posted By:   Erik_Hatcher  
Posted On:   Tuesday, July 16, 2002 05:49 PM

The ant-contrib project at Sourceforge has a // task container that would do the trick. Or you could do some stuff with a BuildListener to clean up things conditionally on a build failure.
About | Sitemap | Contact