Re: sysinfo task

Dominik Guder <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.devel
Message-ID <[email protected]>
Am 25.03.2010 17:12, schrieb Gert Driesen:
> Hi Ryan,
> 
> I guess it won't make it in time for the 0.90 release.
> Personally, I even consider the sysinfo task deprecated.
> 
>>>>
>>>> On Mar 25, 2010, at 8:10 AM, "Gert Driesen" <[email protected]>
>>>> wrote:
>>>>
>>>>> Ryan,
>>>>>
>>>>> We cannot allow parenthesis in property names, as that would screw
>>>>> up our expression tokenizer.
>>>>> I'm more enclined to a machanism that allows explicit control over
>>>>> the property names that a given environment variable is mapped to.
>>>>> Something similar to the file mappers in Ant would be great.
>>>>>
>>>> If I understand you correctly, are you referring to something like:
>>>>
>>>> <sysinfo>
>>>>  <mapper type="glob" from="*(* to="*_*" />
>>>> </sysinfo>
>>>>
>>>> Am I understanding you right?
>>>

Hi,

sorry, I did not write that I checked the parens handling in
properties and found out that the parser will fail. The mapper solution
looks good but as Gert stated <sysinfo> is kind of deprecated. So we
might not put to much effort into it.

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.

First of all I want to get these tests green for 0.90 release.
My proposal:
- add "failonerror='true'" to all existing tests
- add a new test which throws BuildException for
"Environment.ProgramFiles(64)"
- fix docu
- sort output

What do you think?

Regards Dominik

-- 
The answer to the great question of life,
the universe and everything is 42 (Douglas Adams)

------------------------------------------------------------------------------
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.