Maybe you want, although it's not really the same...?

<exec failifexecutionfails="false">
...

The other way would be to use ant-contrib's if. Which I think is ugly.
I'm trying to do with ANT anything like:

            If exist a file (file.txt)
                        Exec file.bat
            End if


Reply via email to