ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henning Mæland <mael...@stavanger.oilfield.slb.com>
Subject failonerror=false
Date Wed, 10 Jul 2002 11:18:37 GMT
The javac-task has the failonerror option.
But what if I want to run say 20 <javah> task inside one target and the 
first of these fails? Then ant will exit, and none of the other <javah> tasks
will be run. I want ant to continue with the other tasks even if one fails.
How can that be done?

<target name="javah-files" depends="init,classes">
    <javah>
        ...
    </javah>
    <javah>
        ...
    </javah>
        ....
        ....
</target>

suggestions anyone??

Henning


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message