ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Ueberall <>
Subject Re: parallel targets
Date Mon, 03 Nov 2008 16:27:44 GMT

you could try the following (compare the outputs of "ant task1 task2" 
and "ant parallel"):

	<target name="parallel">
	  <java classname="">
	    <arg value="task1"/>
	  <java classname="">
	    <arg value="task2"/>
	<target name="task1">
           <fail>Bad luck.</fail>
	<target name="task2">
           <echo>Hello, world.</echo>

Ad astra, Markus

car_car_car schrieb:
> My targets contain junit. when they fail - the whole target fails - this
> information is usfull to me for other reasons.
> I want to be able to keep running the other targets DESPITE the failure.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message