ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Anson <>
Subject Re: Is there a way to catch FAILURE case?
Date Mon, 13 Jan 2003 20:16:01 GMT
Hi Roman,

I've written a try/catch/finally task that I'm in the process of getting 
ready for submitting to the ant-dev group for consideration. You can 
download it at

This zip contains some other tasks that you may or may not want. Docs 
are included in the zip.

Basically, you use the task like this:

<target name=...>
        <!-- put your tasks here -->

            <!-- do failure handling tasks here -->

            <!-- like java, this is optional -->

Dale Anson

Roman Rytov wrote:

>In my script I access VSS and at the beginning check out some files. At
>the end of the script I check them in back. I want to catch all failure
>situations and to make logical action (check those files in in my case).
>Is there a way to apply a kind of FINALLY in Ant?
>Roman Rytov
>To unsubscribe, e-mail:   <>
>For additional commands, e-mail: <>

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

View raw message