You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Felix Dorner <FD...@zed.com> on 2009/03/10 16:10:33 UTC
Looking for something similar to javas 'finally' block
Hey,
In a target, I create a bunch of intermediary files which should *always* be deleted right before the build completes, even if it completes abnormally. This is quite similar to closing a stream in a java 'finally' block. Anything similar for ant?
Thanks,
Felix
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
AW: Looking for something similar to javas 'finally' block
Posted by "Grimm, Markus" <Gr...@juris.de>.
Hi,
try something like: http://ant-contrib.sourceforge.net/tasks/tasks/index.html
Thanks,
Markus
-----Ursprüngliche Nachricht-----
Von: Felix Dorner [mailto:FDorner@zed.com]
Gesendet: Dienstag, 10. März 2009 16:11
An: Ant Users List
Betreff: Looking for something similar to javas 'finally' block
Hey,
In a target, I create a bunch of intermediary files which should *always* be deleted right before the build completes, even if it completes abnormally. This is quite similar to closing a stream in a java 'finally' block. Anything similar for ant?
Thanks,
Felix
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org