ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Atif Pesh-Imam" <apeshi...@sapient.com>
Subject RE: How does one continue with build despite failure?
Date Fri, 20 Jun 2003 22:14:35 GMT
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


Mime
View raw message