Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 75642 invoked from network); 25 Jan 2005 02:29:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Jan 2005 02:29:47 -0000 Received: (qmail 76968 invoked by uid 500); 25 Jan 2005 02:29:45 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 76909 invoked by uid 500); 25 Jan 2005 02:29:45 -0000 Mailing-List: contact dev-help@ant.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 dev@ant.apache.org Received: (qmail 76892 invoked by uid 500); 25 Jan 2005 02:29:44 -0000 Received: (qmail 76881 invoked by uid 99); 25 Jan 2005 02:29:44 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 24 Jan 2005 18:29:44 -0800 Received: (qmail 75615 invoked by uid 1939); 25 Jan 2005 02:29:43 -0000 Date: 25 Jan 2005 02:29:43 -0000 Message-ID: <20050125022943.75614.qmail@minotaur.apache.org> From: jglick@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Available.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jglick 2005/01/24 18:29:43 Modified: src/main/org/apache/tools/ant/taskdefs Available.java Log: Log warnings as warnings. Revision Changes Path 1.65 +4 -2 ant/src/main/org/apache/tools/ant/taskdefs/Available.java Index: Available.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Available.java,v retrieving revision 1.64 retrieving revision 1.65 diff -u -r1.64 -r1.65 --- Available.java 11 Jan 2005 16:34:57 -0000 1.64 +++ Available.java 25 Jan 2005 02:29:43 -0000 1.65 @@ -165,7 +165,8 @@ */ public void setType(String type) { log("DEPRECATED - The setType(String) method has been deprecated." - + " Use setType(Available.FileDir) instead."); + + " Use setType(Available.FileDir) instead.", + Project.MSG_WARN); this.type = new FileDir(); this.type.setValue(type); } @@ -211,7 +212,8 @@ + " property." + StringUtils.LINE_SEP + " Build file should not reuse the same property" - + " name for different values."); + + " name for different values.", + Project.MSG_WARN); } // NB: this makes use of Project#setProperty rather than Project#setNewProperty // due to backwards compatiblity reasons --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org