aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Configuring CVS with Eclipse in WindowsXP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Configuring CVS with Eclipse in WindowsXP" Watch "Configuring CVS with Eclipse in WindowsXP" New topic
Author

Configuring CVS with Eclipse in WindowsXP

Brian Smith
Ranch Hand

Joined: Oct 26, 2002
Posts: 232
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

Joined: Jul 22, 2000
Posts: 9044
    
  10
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
Brian Smith
Ranch Hand

Joined: Oct 26, 2002
Posts: 232
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

Joined: Jun 25, 2001
Posts: 16012
    
  19

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.
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

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

Joined: Oct 26, 2002
Posts: 232
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30294
    
150

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configuring CVS with Eclipse in WindowsXP