Execute a default task in ANT in case of failure

Posted by elos on Stack Overflow See other posts from Stack Overflow or by elos
Published on 2010-06-09T08:44:14Z Indexed on 2010/06/09 9:22 UTC
Read the original article Hit count: 211

Filed under:
|
|
|

Hi, I'm currently using ANT for building my Java project on a Windows XP machine. In my build.xml file I've defined 3 task and I would like that,in case of fail,a default task be executed before closing the building and exiting (like a recovery procedure). I would like to know if it's possible.

thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about ant