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]>

Reply via email to