ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: Request for Patch to BuildException
Date Tue, 09 May 2000 12:19:23 GMT
Jayme,

I would suggest that you have a go yourself and submit a patch. Of course,
at the moment, committers seem to be a little thin on the ground so it may
not improve the situation :-). If I have time, I'll have a look, but it may
be a little while.

Conor


> -----Original Message-----
> From: Edwards, Jayme [mailto:JCEdwards@software.rockwell.com]
> Sent: Tuesday, 9 May 2000 4:40
> To: Apache Ant-Dev Mailing List (E-mail)
> Subject: RE: Request for Patch to BuildException
>
>
> Is someone going to reply to this???????
>
> Jayme
>
>
>  -----Original Message-----
> From: 	Edwards, Jayme [mailto:JCEdwards@software.rockwell.com]
> Sent:	Thursday, April 27, 2000 4:40 PM
> To:	Apache Ant-Dev Mailing List (E-mail)
> Subject:	Request for Patch to BuildException
>
> I'm writing a module (as most of you know) in Forte to use Ant
> projects inside the IDE. One of my needs is to determine if an
> error during a build was thrown by Javac, and to then get the
> line/column number of the error or at least to determine it from
> the string. I looked at BuildException (thrown by execute() of
> targets and tasks) and noticed it gets this exception passed into
> it's constructor but it is kept private. Would it be possible to
> add an "Exception getCause()" method to retrieve the underlying
> error. Otherwise possibly we could make this method protected,
> allow us to subclass it, and pass it into a "void
> setCauseHandler(CauseHandler handler)" method exposed by the
> project or target/task object.
>
> Any help would be great, I'd be willing to make the changes
> myself but it will probably be much quicker to those of you
> intimate with the source.
>
> Thanks,
> Jayme
>


Mime
View raw message