Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 1661 invoked by uid 500); 19 Apr 2001 17:34:27 -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 1322 invoked from network); 19 Apr 2001 17:34:23 -0000 Message-ID: <54A46874C2C8D4118E2A00D0B720444413BB34@WEBSERV2> From: "Peterson, Lance" To: "'ant-user@jakarta.apache.org'" Subject: RE: Is there any onFail type of capability? Date: Thu, 19 Apr 2001 11:37:09 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0C8F7.5C180810" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0C8F7.5C180810 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Stephane, the link you included is broken. I also tried browsing to=20 http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayTopics/action/S= etAl l/project_id/2/faq_id/16 from the online User Guide, it's also broken. Has the FAQ been moved? -----Original Message----- From: Stephane Bailliez [mailto:sbailliez@imediation.com] Sent: Thursday, April 19, 2001 10:34 AM To: ant-user@jakarta.apache.org Subject: RE: Is there any onFail type of capability? 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 ------_=_NextPart_001_01C0C8F7.5C180810 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Is there any onFail type of capability?

Stephane, the link you included is broken.  I = also tried browsing to
http://jakarta.apache.org/jyve-faq/Turbine/screen/Disp= layTopics/action/SetAll/project_id/2/faq_id/16

from the online User Guide, it's also broken.  = Has the FAQ been moved?

-----Original Message-----
From: Stephane Bailliez [mailto:sbailliez@imediation.com= ]
Sent: Thursday, April 19, 2001 10:34 AM
To: ant-user@jakarta.apache.org
Subject: RE: Is there any onFail type of = capability?


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/Disp= layQuestionAnswer/action/SetAll/project_id/2/faq_id/16/topic_id/196/ques= tion_id/741



Cheers,

--
 St=E9phane Bailliez
 Software Engineer, Paris - France
 iMediation - http://www.imediation.com
 Disclaimer: All the opinions expressed above = are mine and not those from my
company.



> -----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?
>
>
> I am using the mail task to notify when a build = is complete;
> however, it
> doesn't get sent if the build fails.  Is = there a way to
> ensure that the
> email is sent regardless of the out come of the = build? Here's
> my build all
> target:
>
>   <target name=3D"all" = description=3D"Build everything"
>          = ; depends=3D"init, compile, jars, javadoc">
>     <tstamp>
>       <format = property=3D"TIME" pattern=3D"hh:mm:ss = a"/>
>     </tstamp>
>     <mail = from=3D"newwave@nwvibm00-e1"
>          = ; tolist=3D"c-chris.stillwell@wcom.com"
>         = subject=3D"NewWave Build ${TODAY}"
>         = message=3D"NewWave Build ${TODAY} Completed at = ${TIME}."
>         = mailhost=3D"****.****.***">
>     </mail>
>   </target>
>
> Thanks,
>
> Chris
>

------_=_NextPart_001_01C0C8F7.5C180810--