From dev-return-82745-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Wed May 28 11:39:23 2008 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 7172 invoked from network); 28 May 2008 11:39:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2008 11:39:22 -0000 Received: (qmail 32426 invoked by uid 500); 28 May 2008 11:39:24 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 32373 invoked by uid 500); 28 May 2008 11:39:23 -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 32362 invoked by uid 99); 28 May 2008 11:39:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 04:39:23 -0700 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [192.6.10.2] (HELO colossus.hpl.hp.com) (192.6.10.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 11:38:33 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by colossus.hpl.hp.com (Postfix) with ESMTP id 1F3BD6BADC for ; Wed, 28 May 2008 12:38:35 +0100 (BST) X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com Received: from colossus.hpl.hp.com ([127.0.0.1]) by localhost (colossus.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id svspbVLESN9x for ; Wed, 28 May 2008 12:38:33 +0100 (BST) Received: from ha-node-br2.hpl.hp.com (ha-node-br2.hpl.hp.com [16.25.144.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by colossus.hpl.hp.com (Postfix) with ESMTP id 4B6956BAD9 for ; Wed, 28 May 2008 12:38:33 +0100 (BST) MailScanner-NULL-Check: 1212579492.30706@D0nhRT4dXqMMXw4qlR0FzQ Received: from [16.25.171.118] (morzine.hpl.hp.com [16.25.171.118]) by ha-node-br2.hpl.hp.com (8.14.1/8.13.4) with ESMTP id m4SBcA3b024884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 28 May 2008 12:38:10 +0100 (BST) Message-ID: <483D4429.6080101@apache.org> Date: Wed, 28 May 2008 12:38:17 +0100 From: Steve Loughran User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: Ant Developers List Subject: Re: Tiny patch to enable Recursion in Ant References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m4SBcA3b024884 X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org Stefan Bodewig wrote: > sorry for the delay, a combination of a whole lot of work, a broken > iBook, very nice weather and severe back pain (not necessarily in that > order) have kept me offline. > > On Wed, 14 May 2008, Colm Smyth wrote: > >> Yes I used subant, but as I said, it can't recurse on the current >> target. >> >> Since recursion should be a core function of a hierarchical build >> system, I think this patch is worth adding to Ant. > > First of all your original mail didn't contain the patch itself. > > Second you said you used ant-contrib's for and I pointed out that > subant should be enough. The only thing that's missing is a property > that knows the current target, isn't it? > > I know we have rejected the idea of such a property in the past, but > we may be at a different point today, so if you open an enhancement > request for such a property (or find the old one and reopen it), that > would e the right place to attach a patch to enable it. I could imagine a task to set a property to the current target ...maybe even something for a complete stack trace/list of imports that is live -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org