Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 86670 invoked from network); 17 Oct 2003 16:09:41 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Oct 2003 16:09:41 -0000 Received: (qmail 80581 invoked by uid 500); 17 Oct 2003 16:09:27 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 80526 invoked by uid 500); 17 Oct 2003 16:09:26 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 80423 invoked from network); 17 Oct 2003 16:09:26 -0000 Received: from unknown (HELO corvil.com) (213.94.219.177) by daedalus.apache.org with SMTP; 17 Oct 2003 16:09:26 -0000 Received: from preilly.local.corvil.com (preilly.local.corvil.com [172.18.1.173]) by corvil.com (8.12.9/8.12.5) with ESMTP id h9HG9Rd8067598 for ; Fri, 17 Oct 2003 17:09:27 +0100 (IST) (envelope-from peter.reilly@corvil.com) From: peter reilly Organization: corvil To: Ant Developers List Subject: Re: Macrodef and parallel in a recursive situation Date: Fri, 17 Oct 2003 17:09:57 +0100 User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310171709.57675.peter.reilly@corvil.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I would rather have Jose's idea of a task. This could be used outside of macrodef. The only problem is the implementation. Peter On Friday 17 October 2003 17:02, Shatzer, Larry wrote: > Maybe allow have another that allows it to be > undeclared with default or passed in, so we can set it inside the macrodef, > such as "newcurrent". > > Example: > > > > > > > ... > > > Then when you call "recursive" such as this: current="0" method="blah"/> it won't die that you did not pass > "newcurrent". > > the "staticscope" attribute name could be something else, or scope="static" > and a list of others that could be used. > > -- Larry > > > -----Original Message----- > > From: peter reilly [mailto:peter.reilly@corvil.com] > > Sent: Friday, October 17, 2003 12:43 AM > > To: Ant Developers List > > Subject: Re: Macrodef and parallel in a recursive situation > > > > > > The parellel would cause grief. > > The problem is not the attribute, I think > > but the "newcurrent" global "variable". > > > > On using macrodef, I have noticed that > > it would be really cool to have a static scopped > > variable. > > > > Peter > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org