when I include the '-listener BuildMonitor -logfile build.log' int ant command, the 
command ends in error. Could you please give me some guidance on it.
Thanks
Prasanna

-----Original Message-----
From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 5:39 AM
To: Ant Users List; [EMAIL PROTECTED]
Subject: Re: is this possible: run some task/target at end, regardless
of success/fail?


Have a look at this FAQ entry:

    http://jakarta.apache.org/ant/faq.html#mail-logger


----- Original Message -----
From: "stephan beal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 15, 2002 8:19 AM
Subject: is this possible: run some task/target at end, regardless of
success/fail?


> Hello again, anters,
>
> Perl has a feature which goes like this:
>
> BEGIN {
> ...
> }
>
> END {
> ...
> }
>
> anything in the END block is run at the end of the script regardless of
> whether the script fails or not. Is this possible in ant? The nature of
our
> build requires that we make a number of <exec> calls (to generate sources,
> etc.), and any of them can fail pretty miserably. These may kill the
build,
> but i have not figured out how to mail myself the build log when it fails
> like this. Having this sort of "bailout" task would allow me to gracefully
> handle this case.
>
> ----- stephan
> Generic Universal Computer Guy
> [EMAIL PROTECTED] - http://www.einsurance.de
> Office: +49 (89) 552 92 862 Handy: +49 (179) 211 97 67
> "I ain't gen'rally given to physicality of that nature but it saves
> a lot of arguing." -- Nanny Ogg
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to