Hi,

I've set up a automated build process with Ant 1.3 in which several 
independant components are build, each one in their own buildfile.
There exists an "main" buildfile build-all.xml with generally looks
like

<project name="all-components" basedir="." default="all">

        <target name="all" depends="compA, compB, compC" />

        <target name="compA">
                <ant antfile="build-A.xml" />
        </target>

        <target name="compB>
                <ant antfile="build-B.xml" />
        </target>

        <target name="compC">
                <ant antfile="build-C.xml" />
        </target>

</project>

and several "build-X.xml" buildfiles for the single components.
The problem is, if one of the components A, B or C fails to build,
the whole build-process is stopped. Is there a possibility to
force Ant to continue even if one or more sub-targets fail to
build?

Thank you very much,
Christian Schmolzi

Reply via email to