On Sat, 9 Feb 2002, Conor MacNeill wrote:

> Stephane Bailliez wrote:
>
> > ----- Original Message -----
> > From: <[EMAIL PROTECTED]>
> >
> >>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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to