From dev-return-69819-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Wed Nov 09 22:16:07 2005 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 43061 invoked from network); 9 Nov 2005 22:16:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Nov 2005 22:16:03 -0000 Received: (qmail 98624 invoked by uid 500); 9 Nov 2005 22:16:00 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 98577 invoked by uid 500); 9 Nov 2005 22:16:00 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 98566 invoked by uid 99); 9 Nov 2005 22:15:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2005 14:15:59 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ddevienne@gmail.com designates 64.233.184.199 as permitted sender) Received: from [64.233.184.199] (HELO wproxy.gmail.com) (64.233.184.199) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2005 14:15:52 -0800 Received: by wproxy.gmail.com with SMTP id 67so758164wri for ; Wed, 09 Nov 2005 14:15:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AsEbdnNQGnGVf8oLfuAOk1jVnbRAtGNBduGBAzHCJdnxT6S5IyBc9xfV3DnQw3A+XU3c5bD+eqYyIou8X8wMKmTj43p6E4Ns8baiBXyyf2F6rYib6EHzEnQYWluxPTkm5SVBVAR+t5uer8fauOp5rh3BHDJkjqUJDw0An4ATePA= Received: by 10.54.95.16 with SMTP id s16mr31648wrb; Wed, 09 Nov 2005 14:15:38 -0800 (PST) Received: by 10.54.119.20 with HTTP; Wed, 9 Nov 2005 14:15:38 -0800 (PST) Message-ID: <255d8d690511091415i1e144de9ic8a04af5562e805a@mail.gmail.com> Date: Wed, 9 Nov 2005 16:15:38 -0600 From: Dominique Devienne To: Ant Developers List Subject: Re: PROPOSE: Property Trace Facility For Ant? In-Reply-To: <43726AF3.7000707@arielpartners.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43719F02.6050704@arielpartners.com> <255d8d690511090705q34733b3pbc8c1a88e23bfcd@mail.gmail.com> <43726AF3.7000707@arielpartners.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 11/9/05, Craeg Strong wrote: > Cool! Continuing this thought experiment, what about enhancing > BuildListener like so: Changing an interface is a no-no of course. > The issue with these events is the same one you normally have with > exceptions. I can't comment on your approach, since I don't think I understand it. > Alternatively, we don't worry about the loss of context, > relying on the surrounding taskStarted/taskFinished events to provide > the context-- as long as there are not multiple threads going on. This is precisely what I proposed to do in my design #2 based on a listener= . So far I think I like #1 best, i.e. adding a few overrides to the log methods in ProjectComponent to support an additional category. I'm not sure we'd need hierarchical categories a la Log4J or java.util.logging. Makes it more complex, and we don't want to slow down Ant's logging. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org