Forgive me if this has been addressed but I could not find it in the archives:

 

I am trying to use nant with source safe but none of the nant vss commands complete.

They all return the same error:

 

{BUILD OUTPUT with –v argument}

 

NAnt 0.85 (Build 0.85.1631.0; net-1.0.win32; nightly; 6/19/2004)

Copyright (C) 2001-2004 Gerry Shaw

NAnt Team

 

Framework 'net-2.0' is invalid and has not been loaded : Framework directory 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.40301' does not exist.

 

Framework 'mono-1.0' is invalid and has not been loaded : Registry Path Not Found! - key='SOFTWARE\Mono\0.91.99\';hive='Microsoft.Win32.Registry

Hive[]';

 

Framework 'sscli-1.0' is invalid and has not been loaded : Framework directory 'C:\sscli\build\v1.x86fstchk.rotor' does not exist.

 

Buildfile: file:///C:/test/test.build

Base Directory: C:\test.

Target(s) specified: getLatest

 

getLatest:

 

 

BUILD FAILED

 

C:\test\test.build(5,10):

 

Failed to open database:

NAnt.Core.BuildException: C:\test\test.build(5,10):

Failed to open database ---> System.IO.FileNotFoundException: The specified module could not be found.

   at NAnt.Contrib.Tasks.SourceSafe.BaseTask.Open() in

C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp2384.tmp\src\Tasks\SourceSafe\BaseTask.cs:line 106

   --- End of inner exception stack trace ---

   at NAnt.Contrib.Tasks.SourceSafe.BaseTask.Open() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp2384.tmp\src\Tasks\SourceSafe\BaseTask.cs:line 110

   at NAnt.Contrib.Tasks.SourceSafe.GetTask.ExecuteTask() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp2384.tmp\src\Tasks\SourceSafe\GetTask.cs:line

 163

   at NAnt.Core.Task.Execute() in C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp15EB.tmp\src\NAnt.Core\Task.cs:line 176

   at NAnt.Core.Target.Execute() in C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp15EB.tmp\src\NAnt.Core\Target.cs:line 249

   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp15EB.tmp\src\NAnt.Core\Pr

oject.cs:line 870

   at NAnt.Core.Project.Execute() in C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp15EB.tmp\src\NAnt.Core\Project.cs:line 827

   at NAnt.Core.Project.Run() in C:\DOCUME~1\drieseng\LOCALS~1\Temp\tmp15EB.tmp\src\NAnt.Core\Project.cs:line 895

 

 

 

This occurs with the latest nightly build for both nant and nantcontrib to the best of my understanding.

I have tried connecting to multiple databases (both local and network) and using different usernames.  I can connect to these databases without issue in source safe.  If I leave out required parameters it catches the error so it seems like the contrib. files are in the right place.  It seems like I’m missing something else though.

 

Thank you in advance for any help you can offer.

 

 

Matt Hulse

[EMAIL PROTECTED]

 

 

 

 

 

Reply via email to