Hey Dominik,

What version of NAnt are you running ?
I get a failure for the "foo(bar)" property:

Property name 'foo(bar)' is invalid.

Gert

-----Original Message-----
From: Dominik Guder [mailto:o...@guder.org] 
Sent: vrijdag 26 maart 2010 22:37
To: nant-developers@lists.sourceforge.net
Subject: [nant-dev] property with parens (was sysinfo task)

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
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.733 / Virus Database: 271.1.1/2769 - Release Date: 03/25/10
21:50:00


------------------------------------------------------------------------------
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
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to