Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 61408 invoked from network); 14 Nov 2005 08:08:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Nov 2005 08:08:01 -0000 Received: (qmail 68181 invoked by uid 500); 14 Nov 2005 08:07:56 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 68116 invoked by uid 500); 14 Nov 2005 08:07:55 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 68105 invoked by uid 99); 14 Nov 2005 08:07:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2005 00:07:55 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2005 00:07:46 -0800 Received: from z011100.bk.fin.local (z011104.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id jAE86sXF030657 for ; Mon, 14 Nov 2005 09:06:54 +0100 Received: from z011134.bk.fin.local ([130.11.7.134]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Mon, 14 Nov 2005 09:06:55 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: AW: Anyone have a Success task? Date: Mon, 14 Nov 2005 09:06:55 +0100 Message-ID: <3CD9A35A043C094EA8773DBB698E801B0376D3BD@z011134.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Anyone have a Success task? Thread-Index: AcXiYZ9xid0htCo6QxOz7uiK8uRc6gAABHIAAaMv2VA= From: To: X-OriginalArrivalTime: 14 Nov 2005 08:06:55.0335 (UTC) FILETIME=[60C79770:01C5E8F2] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N My 1st thought was: why that? But ok, if you want to have that, here more thoughts :-) is implemented in Exit.java [1]. Basically it throws an = Exception. Therefore Ant itself lets the build fail a custom task couldnt force Ant = to=20 quit the build AND print "successful". Jan [1] = http://svn.apache.org/viewcvs.cgi/ant/core/trunk/src/main/org/apache/tool= s/ant/taskdefs/Exit.java?view=3Dmarkup =20 >-----Urspr=FCngliche Nachricht----- >Von: Lasher, James L [mailto:jim.lasher@hp.com]=20 >Gesendet: Sonntag, 6. November 2005 00:39 >An: Ant Users List >Betreff: RE: Anyone have a Success task? > >Thanks for your reply. Actually what I'm looking for is a=20 >task which forces (sends) a build to stop and be reported as=20 >successful as the fail task will force a build to stop and=20 >report a failure. > >-jim- > >-----Original Message----- >From: Rhino [mailto:rhino1@sympatico.ca] >Sent: Saturday, November 05, 2005 4:36 PM >To: Ant Users List >Subject: Re: Anyone have a Success task? > >I'm not sure what you mean. > >I have two directories of .wav files; one directory contains=20 >"success sounds" while the other contains "fail sounds". At=20 >the start of each Ant build script, I have an import that=20 >loads a task; this task plays a "success sound" if the=20 >build works or a "fail sound" if it doesn't. It works very=20 >well and I might be prepared to share it with others in the=20 >Ant community. > >Is that what you're looking for? > >Rhino > >----- Original Message ----- >From: "Lasher, James L" >To: "Ant Users List" >Sent: Saturday, November 05, 2005 4:44 PM >Subject: Anyone have a Success task? > > >I'm looking for a task to do the opposite of the provided task >(end the build with a BUILD SUCCESSFUL). I tried writing a custom task >to fire a buildFinished event, but wasn't exactly successful. > >Thanks. >-jim- > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >For additional commands, e-mail: user-help@ant.apache.org > > >--=20 >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.362 / Virus Database: 267.12.8/161 - Release Date: >03/11/2005 > > > > >--=20 >No virus found in this outgoing message. >Checked by AVG Free Edition. >Version: 7.1.362 / Virus Database: 267.12.8/161 - Release Date: >03/11/2005 > > >--------------------------------------------------------------------- >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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org