ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Kumar" <rahulk...@hotmail.com>
Subject RE: How does one continue with build despite failure?
Date Fri, 20 Jun 2003 22:36:12 GMT
In this particular case, it is junit. Each sub-dir is running junit tests, 
and the ant build.xml in the root dir invokes the build in each sub-dir. The 
build in the root must continue even if junit is some sub-dir fails.


>From: "Atif Pesh-Imam" <apeshimam@sapient.com>
>Reply-To: "Ant Users List" <user@ant.apache.org>
>To: "Ant Users List" <user@ant.apache.org>
>Subject: RE: How does one continue with build despite failure?
>Date: Fri, 20 Jun 2003 15:14:35 -0700
>
>I assume that you're using the javac task in your all target. If you
>are, then you should be able to set failonerror to false.
>
>Try that.
>
>-a
>
>-----Original Message-----
>From: Rahul Kumar [mailto:rahulk911@hotmail.com]
>Sent: Friday, June 20, 2003 2:59 PM
>To: user@ant.apache.org
>Subject: How does one continue with build despite failure?
>
>
>I have
>
><target name="compile"
>     <ant dir="test1" target="all"/>
>     <ant dir="test2" target="all"/>
></target>
>
>If the build in dir test1 fails, ant bails out and does not proceed with
>
>build in test2. I would like the build in test2 to continue despite
>failure
>in test1 (since they don't have any inter-dependency).
>
>_________________________________________________________________
>Help STOP SPAM with the new MSN 8 and get 2 months FREE*
>http://join.msn.com/?page=features/junkmail
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message