Hi,

Sorry for the delay but I missed these.  What seems to be the issue is
that you are using the NAnt 0.84 build, which does not support the
usersharpcvslib="false" attribute.  If you download one of the nightly
builds the setting should work and you can use your default cvs client.

Or as an alternative I will take a patch that will provide sspi support
to sharpcvslib :-).


Cheers,


Clayton


> -----Original Message-----
> From: Vince Chan [mailto:[EMAIL PROTECTED] 
> Sent: July 28, 2004 1:29 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Nant-users] cvs-checkout/cvs-update Exception
> 
> 
> 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.SubmitReque
> st(IRequest request)
> >   at 
> ICSharpCode.SharpCvsLib.Client.CVSServerConnection.Authenticat
> ion(String password)
> >   at 
> ICSharpCode.SharpCvsLib.Client.CVSServerConnection.Connect(Wor
> kingDirectory 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
> 


-------------------------------------------------------
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_idG21&alloc_id040&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to