You can also consider passing in the destdir as an optional parameter
(attribute) of the macro (with default value = [EMAIL PROTECTED])
David Weintraub wrote:
Apparently, there are two methods:
1). Add the parameter name to my property name. Like this:
2). Use the Ant Contrib variables:
Apparently, there are two methods:
1). Add the parameter name to my property name. Like this:
2). Use the Ant Contrib variables:
2a). Use the Ant Contrib var package, but to only reset the property:
Although it would get me out of using the AntContrib library, I
decided against prep
Currently you need to:
1 ) use
2) use the invent new property based on macro instance trick:
for ant 1.8.0, we are considering implementing a "local" property:
Peter
On 8/31/07, David Weintraub <[EMAIL PROTECTED]> wrote
-
From: David Weintraub [mailto:[EMAIL PROTECTED]
Sent: Friday, August 31, 2007 1:14 PM
To: Ant Users List
Subject: Getting around Set Property Values
Okay,
I've got a quick question. Once a property is set, it can never be
overridden. (Actually, you can use the AntContrib task 'va
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 proper