I have the following ant target:

<target name="refactor-ids">
    <echo>Refactor IDs</echo>
    <exec executable="perl" dir="${basedir}">
        <arg value="script.pl" />
        <arg value="input.xml" />

    </exec> 
</target>

If the executable fails for any reason (script.pl doesnt exist, etc) the build will resolve as successful. How do I establish conditional build success upon the success of this executable?

Edit
Report