ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John G. Maher" <jma...@nctimes.net>
Subject Re: How to tell what Javac did?
Date Thu, 25 May 2000 22:11:50 GMT
I like this idea.

----- Original Message ----- 
From: "Ernst de Haan" <ernst@c187104187.telekabel.chello.nl>
To: <ant-dev@jakarta.apache.org>
Sent: Thursday, May 25, 2000 3:12 PM
Subject: Re: How to tell what Javac did?


> Aaron Knauf wrote:
> > Perhaps we could extend Task to set an exit status property? 
> > Probably, this would mean changing
> > 
> > public void execute()
> > 
> > to
> > 
> > public int execute()
> > 
> > and changing all the subclasses.  Better to get that done now, rather
> > than wait until the number of tasks is too large.
> 
> If you would choose this option, then I suggest you change the return
> type to be some class or interface, not just an int, for extensibility.
> You may find it useful to return a descriptive error message, or perhaps
> warning messages.
> 
> For now the return type could be as simple as:
> 
>    public interface ExecutionResult {
>       int getStatus();
>    }
> 
> 
> Ernst
> 


Mime
View raw message