Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 53424 invoked from network); 19 Jan 2010 17:18:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2010 17:18:44 -0000 Received: (qmail 88248 invoked by uid 500); 19 Jan 2010 17:18:43 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 88183 invoked by uid 500); 19 Jan 2010 17:18:43 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 88173 invoked by uid 99); 19 Jan 2010 17:18:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 17:18:43 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [88.84.128.168] (HELO samaflost.de) (88.84.128.168) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 17:18:35 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by samaflost.de (Postfix) with ESMTP id 9ED62289800B for ; Tue, 19 Jan 2010 18:18:14 +0100 (CET) Received: from samaflost.de ([127.0.0.1]) by localhost (v35516.1blu.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cFuNxGb-SrJm for ; Tue, 19 Jan 2010 18:18:14 +0100 (CET) Received: by samaflost.de (Postfix, from userid 1000) id AAFD1289801B; Tue, 19 Jan 2010 18:18:13 +0100 (CET) From: Stefan Bodewig To: user@ant.apache.org Subject: Re: I think the answer to this question is no References: <7916a6a61001172130q765311e9o861a04f71228b014@mail.gmail.com> <255d8d691001181405o78f68162j559c7114c856df87@mail.gmail.com> <7916a6a61001190849o78390a62q99563171959f243a@mail.gmail.com> X-Draft-From: ("nnfolder:mail.jakarta-ant-user" 67272) Date: Tue, 19 Jan 2010 18:18:13 +0100 In-Reply-To: <7916a6a61001190849o78390a62q99563171959f243a@mail.gmail.com> (Mitch Gitman's message of "Tue, 19 Jan 2010 08:49:32 -0800") Message-ID: <871vhm3tey.fsf@v35516.1blu.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org On 2010-01-19, Mitch Gitman wrote: > It seems that, since the project knows all its listeners to notify > them of an event, it wouldn't be so hard to add a method to query all > the listeners for their log level and then return the max of that. The > build listeners would also need a getter for their log level. Note that in order to do that you are going to change interfaces that are implemented by third parties (there are quite a few BuildListener implementations out there) who won't be happy if ther code stops working. In the past we've added new interfaces when we added functionality - like we did for SubBuildListener - in this case using reflection in order to look for a getLevel method or similar may be more appropriate than changing the interface. Just thinking out loud as well 8-) Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org