On Wed, Oct 1, 2008 at 19:39, Zachary Young <[EMAIL PROTECTED]> wrote:

> The error that I keep seeing is that 'srcsafe.ini' cannot be found. I have
> tried the <ssdir> element with and without quotes,

Either way should work.


> and I have also created an environment variable named 'SSDIR' and set its
> value 'R:\dotnet2'.

That won't work.  CCNET creates a new environment for each external program
it runs, so the SSDIR variable will get lost.

> From the error message, it appears that the value I have created for SSDIR
> is not being passed to SS.EXE.

You can verify that by wrapping VSS in a .BAT file and dumping the
environment, like this:
   <sourcecontrol type="vss" autoGetSource="true">
      <executable>MY_VSS.BAT</executable>
      ...
MY_VSS.BAT:
   SET
   "C:\Program Files\Microsoft Visual SourceSafe\ss.exe" %*
   EXIT /B %ErrorLevel%
If SET dumps a value for SSDIR, it's there, if not, not.
Ross

Reply via email to