try finally in ant

Posted by Grzenio on Stack Overflow See other posts from Stack Overflow or by Grzenio
Published on 2010-05-12T14:18:17Z Indexed on 2010/05/12 14:24 UTC
Read the original article Hit count: 207

Filed under:

Hi,

In my ant script, which runs the end-to-end integration tests, I first start a process, then do some other stuff, then run the tests, and then I need to make sure I kill the process. However, I need to make sure I kill the process even if something fails (so I need an equivalent to try finally). What is the recommended way of doing it?

© Stack Overflow or respective owner

Related posts about ant