Hi,

When I use sysinfo in my build script on my machine, everything works fine.
When I run the same file on a different machine, NAnt reports the following
error:

$ nant -buildfile:test.build
NAnt 0.85 (Build 0.85.1724.0; net-1.0.win32; nightly; 9/20/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///c:/test.build
Target(s) specified: update

  [sysinfo] Setting system information properties under sys.*

BUILD FAILED

Property name 'sys.env.;PATH' is invalid.

Total time: 0.1 seconds.

Does anyone know why this is? They are both using the same version of NAnt,
and both are executed manually through Cygwin. They are run under different
users (the successful under my account, the one that failed under the
machine's local administrator account) and under different Windows versions
(Windows XP works, Windows 2000 doesn't).

I have managed to work around it by setting the "failonerror" attribute of
sysinfo. It works (the environment variables are still being set despite the
error), but generates an error into my build log which I would like to
remove.

Has anyone seen this error before?

Thanks in advance,
John


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to