ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Murdoch" <adammurdoch...@yahoo.com>
Subject RE: Exporting a Project Instance
Date Sat, 23 Mar 2002 23:20:27 GMT


> -----Original Message-----
> From: stephan beal [mailto:stephan@wanderinghorse.net]
> Sent: Saturday, 23 March 2002 10:57 PM
> To: Ant Developers List
> Subject: Re: Exporting a Project Instance
>
>
> On Saturday 23 March 2002 00:57, you wrote:
> > > -----Original Message-----
> > > From: stephan beal [mailto:stephan@wanderinghorse.net]
> > >
> > >
> > > On a related note: is there a good reason for not making Task an
> > > interface,
> > > and supplying an AbstractTask to subclass? Except for some
> > > "extends ..." and
> > > "implements ...." lines i can't imagine this not being
> > > backwards-compatible.
> >
> > Well, almost every task in existence today "extends Task".  Make Task an
> > interface and they ain't going to work any more.  You'd be hard
> pressed to
> > argue that that is backwards compatible.
>
> sed is our friend:
> s/extends Task/extends AbstractTask/
>

Don't forget the huge number of tasks that aren't part of the Ant source
tree.  Task is very much part of Ant's public API.  Which means we can't
just change Task from class to interface.


Adam


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


Mime
View raw message