Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 96187 invoked by uid 500); 21 Jun 2003 00:46:28 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 96176 invoked from network); 21 Jun 2003 00:46:28 -0000 Received: from bay2-f39.bay2.hotmail.com (HELO hotmail.com) (65.54.247.39) by daedalus.apache.org with SMTP; 21 Jun 2003 00:46:28 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 20 Jun 2003 17:46:36 -0700 Received: from 139.56.2.100 by by2fd.bay2.hotmail.msn.com with HTTP; Sat, 21 Jun 2003 00:46:36 GMT X-Originating-IP: [139.56.2.100] X-Originating-Email: [rahulk911@hotmail.com] From: "Rahul Kumar" To: user@ant.apache.org Bcc: Subject: Re: How does one continue with build despite failure? Date: Sat, 21 Jun 2003 00:46:36 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 21 Jun 2003 00:46:36.0981 (UTC) FILETIME=[91EFEE50:01C3378E] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This would mean I will have to download antelope stuff. Doesn't something like that come out of ant out-of-box? Would parallel do the trick here? >From: Dale Anson >Reply-To: "Ant Users List" >To: Ant Users List >Subject: Re: How does one continue with build despite failure? >Date: Fri, 20 Jun 2003 17:13:47 -0700 > >http://antelope.sourceforge.net/manual/bk03ch07.html > >This will do exactly what you're looking for. > >Dale > > >Rahul Kumar wrote: > >>Yes, in my case, the superproject appears to have no control on being able >>to continue on a failure in a sub-project (like ant dir="xxx"). >> >> >>>From: "Harkness, David" >>>Reply-To: "Ant Users List" >>>To: "Ant Users List" >>>Subject: RE: How does one continue with build despite failure? >>>Date: Fri, 20 Jun 2003 16:07:00 -0700 >>> >>>Sounds like "haltonfailure" and "failureproperty" would be handy >>>arguments to the task itself. That way the subprojects will fail >>>when run individually while the superproject can continue running (at >>>its own option). Putting this logic at the subproject level doesn't make >>>sense because it's the superproject that should decide whether or not to >>>continue building subprojects when any fails. >>> >>>Ah for tons of free time to do it myself... :) >>> >>>Ciao! >>> >>>David Harkness >>>Sony Pictures Digital Networks >>> >>>-----Original Message----- >>>From: Rahul Kumar [mailto:rahulk911@hotmail.com] >>>Sent: Friday, June 20, 2003 3:56 PM >>>To: user@ant.apache.org >>>Subject: RE: How does one continue with build despite failure? >>> >>> >>>The default values for haltonfailure and haltonerror is "off" and these >>>didn't help. >>> >>> >>> >From: "Atif Pesh-Imam" >>> >Reply-To: "Ant Users List" >>> >To: "Ant Users List" >>> >Subject: RE: How does one continue with build despite failure? >>> >Date: Fri, 20 Jun 2003 15:53:41 -0700 >>> > >>> > >>> >By using the errorproperty and failureproperty attributes, it is >>> >possible to perform setup work (such as starting an external server), >>> >execute the test, clean up, and still fail the build in the event of a >>> >failure. >>> > >>> >So from this documentation it looks like you can utilize these >>> >properties within your task to get the functionality you need. The >>> >other property to look at is haltonfailure, obviously you want to make >>> >sure that this property is set to false. >>> > >>> >Check the manual at http://ant.apache.org to get more docs on the tasks >>> >>> >I mentioned above. >>> > >>> >Hope this helps. >>> > >>> >-a >>> > >>> > >>> >-----Original Message----- >>> >From: Rahul Kumar [mailto:rahulk911@hotmail.com] >>> >Sent: Friday, June 20, 2003 3:36 PM >>> >To: user@ant.apache.org >>> >Subject: RE: How does one continue with build despite failure? >>> > >>> > >>> >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" >>> > >Reply-To: "Ant Users List" >>> > >To: "Ant Users List" >>> > >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 >>> > > >>> > >>> > > >>> > > >>> > > >>> > > >>> > >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 >>> > >>> > >>> >--------------------------------------------------------------------- >>> >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>> >For additional commands, e-mail: user-help@ant.apache.org >>> > >>> >>>_________________________________________________________________ >>>MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. >>>http://join.msn.com/?page=features/virus >>> >>> >>>--------------------------------------------------------------------- >>>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 >>> >> >>_________________________________________________________________ >>The new MSN 8: advanced junk mail protection and 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