[NAnt-users] Property values as a property name ...

2008-06-04 Thread Parrish, Ken
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:

Re: [NAnt-users] Bug discovered: The If and Unless tagsevaluateafterproperties are checked for existence

2008-06-04 Thread Gert Driesen
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

Re: [NAnt-users] Bug discovered: The If and Unless tags evaluateafterproperties are checked for existence

2008-06-04 Thread Roebuck, Alex
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

Re: [NAnt-users] Bug discovered: The If and Unless tags evaluate afterproperties are checked for existence

2008-06-04 Thread Roebuck, Alex
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: