• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configuring CVS with Eclipse in WindowsXP

 
Brian Smith
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks.
 
Marilyn de Queiroz
Sheriff
Posts: 9061
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Brian Smith
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mr. C Lamont Gilbert
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Brian Smith
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34218
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Brian Smith:
Ok, so how do I find the shared server? who maitains it? is it safe to put my projects in that server?

It depends on what you are trying to accomplish.

If you are just learning and don't need to share with others, you can install CVS on your own PC.

If you are working on a project that already exists, there is likely a CVS server set up that you can connect to. For example, open source projects are often hosted on sourceforge.

If you starting a new project, you need to find a host for your CVS server.

Whether you can commit, depends on whether the owner has given you permission.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic