Is there any way in Nant to use the value of one property as the name of
another property?
Here is a sketch of what I want to do, but this will not parse/compile:
Hey All,
Currently we indeed do not treat the if/unless attributes in a special way.
Even if the if/unless attributes signal that a given target/task should not
be executed, all elements/attributes will be initialized and it's up to task
authors to check whether or not to use a given element (b
I might have over-complicated this.
Are you saying that NAnt evaluates the value attribute before the if
attribute in the following line?
This works fine for me, with no NAnt exceptions.
Regards,
Alex.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Could you provide more information?
On which statement were you using an "if test"?
Use ${environment::variable-exists('name')} for testing environment
variables.
Use ${property::exists('name')} for testing NAnt properties.
For example: