Hi Mark,

Try creating a .cvspass file in c:\ (i.e. touch .cvspass).
Alternatively you can use the attribute usesharpcvslib="false" to have
your own cvs client do the checkout.

I will be checking in a patch tomorrow that should fix the issue if a
.cvspass file is not present.


Cheers,

Clayton

> -----Original Message-----
> From: Butler, Mark A Mr IPI Gramm Tech 
> [mailto:[EMAIL PROTECTED] 
> Sent: November 5, 2004 10:30 AM
> To: [EMAIL PROTECTED]
> Subject: [Nant-users] Problem with CVS
> 
> 
> I can't get the CVS task to work.  I can't even get the 
> example to work. Below is what I know.  
> 
> This is the entire contents of my default.build file:
> <?xml version="1.0"?>
> <project name="Simple" default="run" filename="boink">
>             <cvs-checkout 
>               destination="c:\src\nant\" 
>       
> cvsroot=":pserver:[EMAIL PROTECTED]:/cvsroot/nant" 
>               password="" 
>               module="nant" />
> </project>
> 
> 
> When I run nAnt in the same folder as the build file it runs 
> until it does the logging in and hangs.  If I then hit return 
> I get the below messages.
> 
> 
> C:\Temp\nAnt>nant
> NAnt 0.85 (Build 0.85.1766.0; nightly; 11/1/2004)
> Copyright (C) 2001-2004 Gerry Shaw
> http://nant.sourceforge.net
> 
> Buildfile: file:///C:/Temp/nAnt/default.build
> Target(s) specified: run
> 
> [cvs-checkout] Logging in to 
> :pserver:[EMAIL PROTECTED]:/cvsroot/nan
> t  <<<< This is where it hangs and I hit return.
> 
> [cvs-checkout] CVS password: [Console.ConsoleMain:Exception: 
> System.ArgumentNull Exception [cvs-checkout] Message: Value 
> cannot be null. [cvs-checkout] Parameter name: fileName 
> [cvs-checkout] Source: mscorlib
> [cvs-checkout]    at System.IO.FileInfo..ctor(String fileName)
> [cvs-checkout]    at
> ICSharpCode.SharpCvsLib.Console.Commands.LoginCommand.Write
> Password(String thePassword)
> [cvs-checkout]    at
> ICSharpCode.SharpCvsLib.Console.Commands.LoginCommand.GetPa
> ssword()
> [cvs-checkout]    at
> ICSharpCode.SharpCvsLib.Console.Commands.LoginCommand.Execu
> te()
> [cvs-checkout]    at
> ICSharpCode.SharpCvsLib.Console.ConsoleMain.GetPassword(Com
> mandLineParser parser, WorkingDirectory workingDir)
> [cvs-checkout]    at 
> ICSharpCode.SharpCvsLib.Console.ConsoleMain.DoExecute()
> [cvs-checkout]    at 
> ICSharpCode.SharpCvsLib.Console.ConsoleMain.Execute()
> [cvs-checkout]   - [] <(null)>]
> [cvs-checkout] Something very bad has happened.
> 
> BUILD FAILED
> 
> C:\Temp\nAnt\default.build(3,14):
> External Program Failed: C:\Program Files\nAnt\bin\scvs.exe 
> (return code was
> -1)
> 
> 
> Total time: 2.2 seconds.
> 
> 
> C:\Temp\nAnt>
> 
> 
> Thanks,
> 
> MArk B.
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE 
> LinuxWorld Reader's Choice Award Winner for best database on 
> Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/nant-users
> 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to