THX Troy and Robert. The following function and form
allowed dynamic definition of the property name, and
reference to it value.
${property::get-value(key+'.string')}
--- Troy Laurin <[EMAIL PROTECTED]> wrote:
> Date: Fri, 8 Jul 2005 13:03:02 +0800
> From: Troy Laurin <[EMAIL PROTECTED]>
> To: Curtis Zarger <[EMAIL PROTECTED]>
> Subject: Re: [Nant-users] dynamic evaluation of
> properties
> CC: [email protected],
> [EMAIL PROTECTED]
>
> On 7/8/05, Curtis Zarger <[EMAIL PROTECTED]>
> wrote:
> > I tried two forms of the property reference, with
> the
> > same result. Does NAnt support this type of
> > referencing?
>
> Curt,
>
> If you are using one of the 0.85 releases (or
> nightlies), then you can
> evaluate the value of a property using expressions:
>
> <echo message="${key} value is
> ${property::get-value(key)}" />
>
> Note that ${property::get-value('key')} is
> different, and is the same as ${key}.
>
> --
> Troy
>
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users