ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: removing deprecated stuff
Date Wed, 05 Dec 2001 07:01:30 GMT
On Mon, 3 Dec 2001, Jose Alberto Fernandez <j_a_fernandez@yahoo.com>
wrote:

> Why don't we provide a simple API that simplifies maintaing this
> deprecated messages, 

Of course, there is no other option IMHO.

> something like:
>
>     public void deprecated(String message, String version) {

I'd use some final integral type constants for Ant version instead of
performing string matches (so that you can calculated the value "two
releases before this one"), otherwise, I pretty much agree with the
idea.

Stefan

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