Figured this out.  Make was seeing the user-created system environment
variables as all lowercase when spawned from Cruise Control and/or
MSBuild.

On Feb 10, 12:29 pm, "A.J. Larson" <[email protected]> wrote:
> I have several makefiles which reference system environment variables
> using the "$(Variable_Name)" syntax.  When GNU make executes the
> makefiles from the command line, they work properly -- that is they
> replace the environment variable names with their values.
>
> When I try to run Make with these makefiles through CruiseControl.NET
> (either via a direct exec task or within an msbuild project file), the
> variables expand to an empty string -- which is what happens when Make
> thinks the environment variable doesn't exist.
>
> Has anyone ran into this before?  This happens whether I use the cmd-
> line server or the service -- and I have made sure I'm running the
> service as the administrator.  I'm running on Windows 7.

Reply via email to