Hello All, I have been trying to setup CVS with eclipse in WindowsXP environment but no success. Very painful and frustrated with lack of knowledge and a concrete documentation. I installed WinCvs 2.0 and cvsnt, that's it. I am confused with creating a reporsitory and connecting it with eclipse. In eclipse, in Add CVS Repository Location dialog box, it asks for the following: Host - is it my machine? Repository Path - what is it - how do it create one? User - where and when do I create one? Password
I have no clue as to where I get each of these from. can some one explain me how I can setup CVS in WindowsXP and get it connected to eclipse?
Connecting your CVS to Eclipse is the easy part. WinCVS is a CVS client and so is the Eclipse CVS. It will not help you set up a repository on a "cvs server". I'm not familiar with cvsnt. First worry about setting up the repository for CVS. I'm sorry that I can't help you with that. Afterwards it will be clear to you what to enter for the host, repository path, user and password.
Meanwhile you can use WinCVS or Eclipse built-in CVS client stuff to get an open source project off the web or with a repository that has already been set up. We've had problems using WinCVS and EclipseCVS client concurrently. They don't seem to play well together. I'd recommend using either one or the other, but not both for the same project. [ August 16, 2006: Message edited by: Marilyn de Queiroz ]
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Joined: Oct 26, 2002
I See what you are saying. I have to have a Repository set up in the first place. For that I have to have a CVS Server set up where I can create a repository. Now, should you normally installed the CVS server on your machine or use someone's server out there where you can create a repository and use it? can you educate me little bit more on it? Thanks.
You can host your own CVS server or use a shared server. Normally you'd not put the CVS server on localhost, since one of the reasons for CVS is to allow collaboration between people, but if you're the only one using it and you just want CVS to keep change history, there's nothing actually wrong with the client and server being the same machine.
Customer surveys are for companies who didn't pay proper attention to begin with.
Eclipse does not support pserver so if you see that option when creating your server do not use it. you need to connect with server or ssh or something. (even to localhost)
First you create a directory on your local harddrive to be yoru repository. Then you tell CVS to initialize it. Then that becomes your repository.
Host - localhost Repository Path - C:\repositoryLocation\ User - Password
you may not need username and pwd. CvSROOT will generally be the same as path to repository
Joined: Oct 26, 2002
Originally posted by Tim Holloway: You can host your own CVS server or use a shared server. Normally you'd not put the CVS server on localhost, since one of the reasons for CVS is to allow collaboration between people.
Ok, so how do I find the shared server? who maitains it? is it safe to put my projects in that server?