ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schmolzi, Christian" <Christian.Schmo...@t-systems.de>
Subject Continue build process after one target fails?
Date Wed, 15 Aug 2001 06:21:14 GMT
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


Mime
View raw message