ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <jalbe...@cellectivity.com>
Subject RE: Trapping RuntimeExceptions form Tasks
Date Tue, 11 May 2004 10:42:03 GMT
> From: Stefan Bodewig [mailto:bodewig@apache.org] 
> 
> On Tue, 11 May 2004, Peter Reilly <peter.reilly@corvil.com> wrote:
> 
> > The notion is not to swallow / ignore them (unless the build script 
> > author wants to) but to wrap them in a build exception to possibly 
> > provide some information as to where the error happened - the line 
> > number of the build script from where the error happened 
> for example.
> 
> OK, so I must have partly misunderstood that.  I have no 
> problem with adding location information (and which task 
> caused the Error).
> 

This looks like something specific to the script tasks to look at
and dealt with. I.e., catch VerifyErrors and convert them into
BuildExceptions
with any additional info.

> What I really wouldn't feel comfortable with would be if Ant 
> even optionally would swallow such an error.
> 

Agreed.

Jose Alberto

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


Mime
View raw message