property with parens (was sysinfo task)

Dominik Guder <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.devel
Message-ID <[email protected]>
Am 26.03.2010 15:53, schrieb Ryan Boggs:
>> Another point which needs attantion (propably for 1.0) is that I was
>> able to define a property with parens without getting an exception at
>> definition time. More detail later.
>>
>Can you provide an example when you get a moment? I would like to look
>into this.

<project>
    <property name="foo(bar)" value="FooBar" />
    <property name="display" value="display a working property" />
    <echo message="${display}" />
    <echo message="${foo(bar)}" />
</project>

Result:
Build failed on last line with "Property 'foo' has not been set."
But I would expect that line one will fail where name of <property> task
is set to an invalid value.

So far Dominik

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.