[cvsnt] Need help configuring CVSNT on Windows XP for use with Eclipse
pvgoran
pvgoran.ml at macondo.ru
Wed Feb 11 09:32:34 GMT 2004
Hello James,
Wednesday, February 11, 2004, 2:49:24 PM, you wrote:
JA> Hello,
JA> I have installed and (I think) correctly configured
JA> CVSNT on my Windows XP machine. Now I want to use it
JA> for a simple web application project which I am
JA> developing using Eclipse. I am having trouble getting
JA> the repository location to validate when I try to add
JA> it using Eclipse's CVS repository explorer - it tells
JA> me that it has an I/O exception, the connection is
JA> refused and there is no such repository. I am not
JA> sure if my CVSNT installation and configuration is to
JA> blame, or if I am using the wrong validation
JA> (protocol/username/password) within Eclipse.
JA> Here's what I've done to install and configure CVSNT,
JA> please let me know if this looks kosher:
JA> 1. Install CVSNT - run cvsnt-2.0.26.exe
JA>
JA> (skipped)
When you type 'set cvsroot=...' in bash, it doesn't have any effect (I
guess it is intended to be used in scripts), so the variable CVSROOT
retains its old value (C:\cvsrepo); when CVSNT sees this value, it assumes
you want to use the directory 'C:\cvsrepo' through the 'local' protocol,
that's why, for example, 'cvs ls' gives you the contents of 'C:\cvsrepo',
and 'cvs login' complains about the 'local' protocol.
You should use 'export cvsroot=...' instead of 'set', and probably remove
the 'CVSROOT' system env. variable (you don't need it anyway).
Alternatively, you can specify the repository path in the '-d' option. Or
just use a GUI client such as WinCvs, WSAD or Eclipse.
As regards Eclipse: it probably doesn't work because you executed 'cvs
passwd' for 'C:\cvsrepo'; try again after you do 'cvs passwd' for
':ntserver:JamesAdams:/eclipse' (or better ':sspi:JamesAdams:/eclipse').
Pavel Goran
More information about the cvsnt
mailing list