@lists.sourceforge.net
Subject: RE: [Nant-users] sysinfo problem -- not setting all system variables
Tony,
You might also try ${environment::get_variable('SRCROOT')} to see if you can
just extract that one environment variable.
As for PATH, there was some discussion about that one before. Be su
Tony,
You might also try ${environment::get_variable('SRCROOT')} to see if you can
just extract that one environment variable.
As for PATH, there was some discussion about that one before. Be sure you are
capitalizing it as it appears in a SET statement in a DOS console window. For
some Wind
rnish [mailto:[EMAIL PROTECTED]
Sent: Monday, May 23, 2005 2:01 PM
To: Anthony DeLuca; nant-users@lists.sourceforge.net
Subject: Re: [Nant-users] sysinfo problem -- not setting all system variables
Tony,
Try adding just "SRCROOT" (no "sys.end" prefix) to your environment,
Tony,
Try adding just "SRCROOT" (no "sys.end" prefix) to your environment, then check
the value of the "sys.SRCROOT" property in your script. In general, if you
have specified a prefix of "xxx", the environment variable "ABC" will show up
as property "xxx.ABC".
Merrill
-
It is my
understanding that should pull all of your system enviroment
variables into nant for reference. It seems that all of my variables are not
being pulled in.
In particular I want sys.env.SRCROOT to be available.
I have set sys.env.SRCROOT in the following ways. Both of these met