Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 33990 invoked from network); 19 Jun 2004 15:32:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Jun 2004 15:32:26 -0000 Received: (qmail 70135 invoked by uid 500); 19 Jun 2004 15:32:23 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 69970 invoked by uid 500); 19 Jun 2004 15:32:19 -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 69857 invoked by uid 99); 19 Jun 2004 15:32:17 -0000 Received: from [156.153.255.246] (HELO palrel11.hp.com) (156.153.255.246) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sat, 19 Jun 2004 08:32:17 -0700 Received: from hplns3.hpl.hp.com (hplns3.hpl.hp.com [15.0.48.4]) by palrel11.hp.com (Postfix) with ESMTP id 084BABDEC for ; Thu, 17 Jun 2004 02:27:20 -0700 (PDT) Received: from iseran.com (chamonix.hpl.hp.com [15.144.25.135]) by hplns3.hpl.hp.com (8.11.1 - (Revision 1.4+JAGae91741+JAGae92668)/8.12.9/HPL-PA Hub) with ESMTP id i5H9RJK07898 for ; Thu, 17 Jun 2004 02:27:19 -0700 (PDT) Message-ID: <40D163F6.6010908@iseran.com> Date: Thu, 17 Jun 2004 10:27:18 +0100 From: Steve Loughran User-Agent: Mozilla Thunderbird 0.5 (X11/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: and local Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I am now convinced we need local properties; without it macrodef doesnt work fully. One option: in the declaration, you declare which properties are local. When the macro exits these properties are deleted -if they were not set before entering the macro. That is, properties set before the macro remain immutable, only those set inside get reset. We'd need to do the cleanup on both a normal exit and a buildexception. -steve --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org