Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 24899 invoked from network); 23 Feb 2003 15:21:01 -0000 Received: from mx1.magmacom.com (206.191.0.217) by daedalus.apache.org with SMTP; 23 Feb 2003 15:21:01 -0000 Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h1NFL31S025890 for ; Sun, 23 Feb 2003 10:21:03 -0500 (EST) Received: from cryptocard.com (ottawa-hs-64-26-170-249.d-ip.magma.ca [64.26.170.249]) by mail3.magma.ca (Magma's Mail Server) with ESMTP id h1NFL3Rj008437 for ; Sun, 23 Feb 2003 10:21:03 -0500 (EST) Date: Sun, 23 Feb 2003 10:21:07 -0500 Subject: Re: Verbosity & Debug Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) From: Jesse Stockall To: "Ant Users List" Content-Transfer-Encoding: 7bit In-Reply-To: <3E58E0EE.6050109@machturtle.com> Message-Id: <6E5F529E-4742-11D7-896D-000393DB1D12@cryptocard.com> X-Mailer: Apple Mail (2.551) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Sunday, February 23, 2003, at 09:55 AM, David Corbin wrote: > How does an Ant task detect that -v or -debug as been set on the ant > command line? They don't need to, when you log messages, you select the level that it should appear at. Have a look at Task.log() and Project.log() (Task.log() calls through to Project.log(), but is a handy convenience method, if you extend Task) Jesse Stockall - jesse@cryptocard.com CRYPTOCard Corp.