ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Gates <al...@radik.com>
Subject Re: Is there any onFail type of capability?
Date Fri, 20 Apr 2001 01:02:27 GMT
I don't know the status of the FAQ.  But you can also find out about
build listeners at:
 http://jakarta.apache.org/ant/manual/index.html .  Go to the
"Developing with Ant" section and look at the bottom under BuildEvents.

Alan.

"Peterson, Lance" wrote:

>
> Stephane, the link you included is broken.  I also tried browsing to
>
> ttp://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayTopics/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:
>
> ttp://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/action/SetAll/project_id/2/faq_id/16/topic_id/196/question_id/741
>
>
>
> Cheers,
>
> --
>  St├ęphane 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="all" description="Build everything"
> >           depends="init, compile, jars, javadoc">
> >     <tstamp>
> >       <format property="TIME" pattern="hh:mm:ss a"/>
> >     </tstamp>
> >     <mail from="newwave@nwvibm00-e1"
> >           tolist="c-chris.stillwell@wcom.com"
> >         subject="NewWave Build ${TODAY}"
> >         message="NewWave Build ${TODAY} Completed at ${TIME}."
> >         mailhost="****.****.***">
> >     </mail>
> >   </target>
> >
> > Thanks,
> >
> > Chris
> >

Mime
View raw message