Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 4043 invoked from network); 28 Nov 2008 16:12:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2008 16:12:08 -0000 Received: (qmail 97364 invoked by uid 500); 28 Nov 2008 16:12:18 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 97319 invoked by uid 500); 28 Nov 2008 16:12:18 -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 97308 invoked by uid 99); 28 Nov 2008 16:12:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Nov 2008 08:12:18 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jeanlouis.boudart@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Nov 2008 16:10:51 +0000 Received: by nf-out-0910.google.com with SMTP id g13so823163nfb.10 for ; Fri, 28 Nov 2008 08:11:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=wyp5OjKkR7sESAZ+aAZCc3UDM1mLYV7k3YA4T0gIOhk=; b=pI9xOqv/rgD2+rgKOTo0DEtHuzRQFPtTVfVdLvD37/WK2CyX/Wmvr8yEHwUO9Maneq CHShSx5dTlQUooWqaWIs4WOms3wmQJ3mfYxunXzV7n08xOYHoC36XKzN1zzLLLK6V956 esE/1Xm8+T2S96s2nNK0iEugTcIYckltYNL9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=NrB8wY2pXzkGABeNhC1UEXj4IGRpAN55ceO7bexPWHA3xcWMUmGFocM2TScibYS40Q EvkxBxe7/0BtZK/iid254LzltFZzJaWtaRcYszo7xNMoiZ5r4NahdeaeVRYjEL2aSiYv 9k7+qQRRUKiUTbePwgnvi6fcmzIuaJS33ELBA= Received: by 10.210.25.18 with SMTP id 18mr9047602eby.14.1227888687064; Fri, 28 Nov 2008 08:11:27 -0800 (PST) Received: by 10.210.11.3 with HTTP; Fri, 28 Nov 2008 08:11:27 -0800 (PST) Message-ID: Date: Fri, 28 Nov 2008 17:11:27 +0100 From: "Jean-Louis BOUDART" To: "Ant Developers List" Subject: Re: target-group committed In-Reply-To: <255d8d690811261224t20eaab55q5676b44b8c20d3ec@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_42859_26927804.1227888687045" References: <635a05060811200025h557b43e7x25a80abc488e2821@mail.gmail.com> <492C5F75.4070502@callenish.com> <492DAC47.9090603@callenish.com> <255d8d690811261224t20eaab55q5676b44b8c20d3ec@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_42859_26927804.1227888687045 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm +1 for this solution 2008/11/26 Dominique Devienne > On Wed, Nov 26, 2008 at 2:06 PM, Bruce Atherton > wrote: > > Or you could just live with the verbosity of the target list, like I did, > > and use naming conventions in EasyAnt. I'm sure there are many other ways > to > > address the issue. > > One possible way would be to provide an in-build-file hook to > intercept the -p switch, and this hook (I envision a target) would > then be responsible to display the help. Couple that with a new > configurable task to generate the -p output, and then it's up to the > user to select (via some kind of include/exclude) whatever targets are > going to be listed. > > My builds used to all have a help target which 'd back into Ant > on the same build file with the -p switch added. It's the same idea, > but exposing a builtin task instead, and allowing to run that target > when -p is specified, if it's hooked via for example a help-target="help">. > > --DD > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org > > ------=_Part_42859_26927804.1227888687045--