ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shane_Curc...@lotus.com
Subject Re: onFailure
Date Mon, 29 Jan 2001 13:12:14 GMT
A big
+1
on the idea below.  As Pete notes, the default implementation should be
backwards compatible, but gives good control to those who want to automate
Ant from the outside (or just plain want to have a -k keep going flag).

- Shane
---- you <donaldp@apache.org> wrote: ----
> idea - what if we extended BuildListener so that it had the callbacks
>
> void taskFailed( BuildException be );
> void taskError( Throwable t );
>
> where taskFailed would be call when a BuildException is detected and
> taskError would be called on catching a NullPointner/other runtime
> exception/error.



Mime
View raw message