ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: ant call on exit
Date Sat, 03 Jan 2004 01:12:08 GMT
On Jan 2, 2004, at 6:16 PM, Jake Ewerdt wrote:
> I read in the documentation that you can write a listener that gets 
> called
> when the build exits, but will that listener get called if the build 
> does not
> exit successfully?

Yes.  To detect an error, the buildFinished event will have an 
exception attached to it.  Have a look at the built-in loggers and 
listeners for examples (the MailLogger, for example, detects whether an 
error occurred or not).

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message