ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schmolzi, Christian" <>
Subject Continue build process after one target fails?
Date Wed, 15 Aug 2001 06:21:14 GMT

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

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

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

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

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

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


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

Thank you very much,
Christian Schmolzi

View raw message