Hi Paul, how much environment variables is a bunch? :-) I remeber someone posted on this list that his batch based build does run on the command line but not in CC.Net. CC.Net is adding a few environment variables and that was just enough for this user that his environment space was not big enough... Does your build still run on the command line if you add another bunch of variables (iirc CC.Net is adding 12 or so)?
regards, Daniel On Mon, 23 Mar 2009 06:15:24 -0700 (PDT) PaulW <[email protected]> wrote: > > Hi CCnet users, > > I am overseeing a project that is trying to integrate CC with some > existing build scripts. However the scripts that work fine when run on > the command-line or from a desktop short-cut do not work when run > under CC.NET console. > > We have CC executing a top level batch file. This script sets up a > bunch of environment variables and effectivly performs a call to GNU > make. However the make process does not seem to inherit the latest, or > it would appear any, environment variables. As a result the make > quickly fails when env vars are used or indeed trying to run any > console command such as copy. > > It occurs under CC versions 1.4.0 and 1.4.2 > We are using a third-party build of GNU Make v3.80 for win32, source > code not available to us :( > We have tried on several computers .NET 2.0 or 3.0 installed. > > We have tried spawning an instance of cmd.exe and passing in the > script as an argument using the /C option. > We are pretty sure user permissions are not a problem as we are > running CC.NET from the console. > > Just wondering if anybody else has had similar problems or could > provide possible solutions, before I dust off the old debugger? > > > Cheers, > > PaulW
