ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <cost...@covalent.net>
Subject Re: Speaking of deprecation...
Date Sun, 10 Feb 2002 02:28:38 GMT
On Sat, 9 Feb 2002, Conor MacNeill wrote:

> Stephane Bailliez wrote:
>
> > ----- Original Message -----
> > From: <costinm@covalent.net>
> >
> >>I really _hate_ the 'deprecated' message in ant. Especially when it's
> >>
> >
> > I hate also the deprecated message in the java compiler but it is here to
> > remind me something.
> > Fortunately I think I rarely use deprecated methods/class since a
> > sophisticated IDE usually identify this during auto-completion.
> >
> > But maybe we can add a -deprecated to Ant to be javac like.
> >
>
> What about if deprecation warnings were a different message level,
> something like Project.MSG_DEPRECATED, perhaps between INFO and VERBOSE.
> A command line option to show them or not would be possible and we could
> print a summary at the end if there are any deprecated messages
> received, just as javac does. It would also explicitly mark deprecated
> tasks and attributes.
>
> Just an idea.

+1, an excelent idea. ( but please, make the default off, like in javac,
or at least use a property to turn it off )

Costin


--
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