Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 13024 invoked from network); 31 Aug 2007 17:14:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Aug 2007 17:14:38 -0000 Received: (qmail 32791 invoked by uid 500); 31 Aug 2007 17:14:28 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 32767 invoked by uid 500); 31 Aug 2007 17:14:28 -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 32756 invoked by uid 99); 31 Aug 2007 17:14:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 10:14:28 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of qazwart@gmail.com designates 64.233.182.184 as permitted sender) Received: from [64.233.182.184] (HELO nf-out-0910.google.com) (64.233.182.184) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 17:14:24 +0000 Received: by nf-out-0910.google.com with SMTP id k4so860373nfd for ; Fri, 31 Aug 2007 10:14:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=c1VdOq9xzMhuV8/pLjtWVgAiQAh/FiN+S84cQxpExHXXxr3WRbpN8XyGlVmkk10oUMZP2TgvHMaToadilrW+8MHrMnD1nBYpyQ8FCNneVPrKiEWWN2rce8h/KbVteA2y/9i3pU+MB0G+DrJaOhJtCVGHyuWTTOgL6+Lp2Qqc8lM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=YLqHps6s0SwK3iImoH3siL+LZuYuGAgVTm0KRIoErlrXC5A594MhwsO+mIHLEXm+xtl/5V+YrdsYgR2z8Jq7ytoeZw4/7OPe6wA5jdjDv7mbh+UX7aVo4PWPiOfYasqEkwxYMldXhcyxeI83XLg646S2Z40mRibOiJPxTAWxHII= Received: by 10.82.186.5 with SMTP id j5mr1044251buf.1188580442960; Fri, 31 Aug 2007 10:14:02 -0700 (PDT) Received: by 10.82.166.16 with HTTP; Fri, 31 Aug 2007 10:14:02 -0700 (PDT) Message-ID: Date: Fri, 31 Aug 2007 13:14:02 -0400 From: "David Weintraub" To: "Ant Users List" Subject: Getting around Set Property Values MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Okay, I've got a quick question. Once a property is set, it can never be overridden. (Actually, you can use the AntContrib task 'variable' to do this, but...) I am defining a Maco that looks like this: When I call the Macro the first time, the property "destdir" will be set to the correct value, and everything will be fine. However, on the second call, the property "destdir" won't be reset since you cannot change the value of a property once it is set. The files will be built in the wrong place. How can I get around this issue? I could simply put my destination directory in every place, but that means if I change something, I have to hunt down all the places where it was set, and change it there. Is there a way I can have the property be unset after the macro is called? -- David Weintraub qazwart@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org