Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 2440 invoked from network); 3 Oct 2003 16:04:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Oct 2003 16:04:20 -0000 Received: (qmail 59589 invoked by uid 500); 3 Oct 2003 16:04:02 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 59549 invoked by uid 500); 3 Oct 2003 16:04:01 -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 59536 invoked from network); 3 Oct 2003 16:04:01 -0000 Received: from unknown (HELO hotmail.com) (64.4.46.201) by daedalus.apache.org with SMTP; 3 Oct 2003 16:04:01 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 3 Oct 2003 09:04:05 -0700 Received: from 216.3.242.162 by bay9-dav66.bay9.hotmail.com with DAV; Fri, 03 Oct 2003 16:04:04 +0000 X-Originating-IP: [216.3.242.162] X-Originating-Email: [vsira@hotmail.com] From: "venkatesh Sira" To: "Ant Users List" References: Subject: Re: Build failed is wrong Date: Fri, 3 Oct 2003 12:04:04 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4922.1500 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800 Message-ID: X-OriginalArrivalTime: 03 Oct 2003 16:04:05.0147 (UTC) FILETIME=[F82976B0:01C389C7] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Antonie, I do have failonerror="true", but still failonerror not happeing. My script looks like this Even if task wsad fails it is starting install task Reg -Venkat ----- Original Message ----- From: "Antoine L�vy-Lambert" To: "Ant Users List" Sent: Friday, October 03, 2003 9:38 AM Subject: AW: Build failed is wrong > Hi Venkat, > > add failonerror="true" on your invocation of the command (). > If a dependent target fails, then your build will be stopped automatically. > If you want to run a target which is dependent upon other targets, then you > might want to create a new target which does not have dependencies and > invoke just this one. > > one way of doing this is : > > > > > > > > > > > > > > > > Cheers, > > Antoine > > -----Urspr�ngliche Nachricht----- > Von: venkatesh Sira [mailto:vsira@hotmail.com] > Gesendet: Donnerstag, 2. Oktober 2003 23:13 > An: Ant Users List > Betreff: Build failed is wrong > > > All, > 1) I am running script using executable command inside ant build file, Ant > always says build successfull, even if the script run & not done its task. > How can i return the error out of script back to ant, so that > If script does its job return sucessful else unsuccessful. > > 2) Other thing how can run task only if dependent target is successful. > > 3) How can run the only the target even though it is dependent on other > targets. > > Reg > -Venkat > > > > --------------------------------------------------------------------- > 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