ant-user mailing list archives

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

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

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

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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message