Paul,
I had used sspi before and got the same exception too. I then switched to use ":pserver" and it worked.
<cvs-checkout destination="c:\paulm\foobar\" cvsroot=":pserver:[EMAIL PROTECTED]:/archer" password="" verbose="true" module="tests" />
Vince.
[EMAIL PROTECTED] wrote:
Hello -
I'm trying to use a cvs-checkout or cvs-update task and am getting an exception. I'm running against NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)
The .build entry is: <cvs-checkout destination="c:\paulm\foobar\" cvsroot=":sspi:[EMAIL PROTECTED]:/archer" password="" verbose="true" module="tests" />
The stack trace from nant is: System.NullReferenceException: Object reference not set to an instance of an object. at ICSharpCode.SharpCvsLib.Client.CVSServerConnection.SubmitRequest(IRequest request) at ICSharpCode.SharpCvsLib.Client.CVSServerConnection.Authentication(String password) at ICSharpCode.SharpCvsLib.Client.CVSServerConnection.Connect(WorkingDirectory repository, String password) at NAnt.SourceControl.Tasks.AbstractCvsTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run()
This also occurs if I do cvs-update instead of cvs-checkout.
I can successfully do a command line checkout with the command: C:\paulm\foobar>cvs -d:sspi:[EMAIL PROTECTED]:/archer co tests
I've tried adding the 'usesharpcvslib="false"' option but see the same exception. I've tried supplying a password but see the same exception.
Any help is greatly appreciated!
-paul
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users