Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 68678 invoked by uid 500); 19 Apr 2001 16:26:42 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 68409 invoked from network); 19 Apr 2001 16:26:37 -0000 Message-ID: <9B3E950CB293D411ADF4009027B0A4D20105F06D@PARSV011> From: Stephane Bailliez To: ant-user@jakarta.apache.org Subject: RE: Is there any onFail type of capability? Date: Thu, 19 Apr 2001 17:34:05 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N It's in the FAQ, use a BuildListener Looks like the FAQ is down, but should be: http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/= acti on/SetAll/project_id/2/faq_id/16/topic_id/196/question_id/741 Cheers, --=20 St=E9phane Bailliez=20 Software Engineer, Paris - France=20 iMediation - http://www.imediation.com=20 Disclaimer: All the opinions expressed above are mine and not those = from my company.=20 > -----Original Message----- > From: Chris Stillwell [mailto:c-chris.stillwell@wcom.com] > Sent: Thursday, April 19, 2001 6:07 PM > To: ant-user@jakarta.apache.org > Subject: Is there any onFail type of capability? >=20 >=20 > I am using the mail task to notify when a build is complete;=20 > however, it > doesn't get sent if the build fails. Is there a way to=20 > ensure that the > email is sent regardless of the out come of the build? Here's=20 > my build all > target: >=20 > depends=3D"init, compile, jars, javadoc"> > > > > tolist=3D"c-chris.stillwell@wcom.com" > subject=3D"NewWave Build ${TODAY}" > message=3D"NewWave Build ${TODAY} Completed at ${TIME}." > mailhost=3D"****.****.***"> > > >=20 > Thanks, >=20 > Chris >=20