ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolae Cismaru <n...@edulib.ro>
Subject Skipping failed tasks
Date Tue, 22 Oct 2002 11:19:35 GMT
Hello,
Giving the following target, is it possible to execute all the tasks 
even if the 1st or the 2nd fail?

<target name="javadoc"
            description="Javadoc for the application.">
    <ant antfile="build.xml" dir="${MUSE_HOME}" target="javadoc"/>
    <ant antfile="build.xml" dir="${MUSE_HOME}/admin" target="javadoc"/>
    <ant antfile="build.xml" dir="${MUSE_HOME}/http" target="javadoc"/>
</target>

Reading the code, I've seen that if a BuildException occurs when a 
target is executed then Ant exits to the system.
So, is it a way to solve this problem?

Nicu


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message