From ant-dev-return-24973-qmlist-jakarta-archive-ant-dev=jakarta.apache.org@jakarta.apache.org Sat Feb 09 00:15:46 2002 Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 98289 invoked from network); 9 Feb 2002 00:15:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 Feb 2002 00:15:45 -0000 Received: (qmail 801 invoked by uid 97); 9 Feb 2002 00:15:48 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 785 invoked by uid 97); 9 Feb 2002 00:15:48 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 774 invoked from network); 9 Feb 2002 00:15:47 -0000 Message-ID: <3C646AB7.30001@cortexebusiness.com.au> Date: Sat, 09 Feb 2002 11:17:59 +1100 From: Conor MacNeill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011226 X-Accept-Language: en-us, en-au MIME-Version: 1.0 To: Ant Developers List Subject: Re: Speaking of deprecation... References: <005101c1b0d5$fba56e10$d1eefea9@homenkf0y0hwu0> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Stephane Bailliez wrote: > ----- Original Message ----- > From: > >>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. Conor -- To unsubscribe, e-mail: For additional commands, e-mail: