Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing CVS host in Eclipse IDE

Status
Not open for further replies.

ronjc

Programmer
Jul 1, 2003
2
US
I am using Eclipse 2.1 IDE with CVS on a project in which the CVS host addresses change constantly. Is there an easy way to repoint the CVS repository host location for Eclipse, without having to disconnect a project and rebuild a new Location thru the IDE? The CVS host changes multiple times due to using DHCP, but the repository itself is the same. I just need to change the IP address of the repository.
 
I don't use Eclipse, but a way to turn around is to define your CVS server in the hosts file and update it when needed:

127.0.0.1 localhost
YourCVSServerName

And target Eclipse on YourCVSServerName.

HTH,

Thierry
 
Within Eclipse I'm getting a "Cannot connect to host" message. I need some help.

my repository string is ":pserver:user@dev01:/devel/cvsroot/planning" and I also try using the ip address to replace the "dev01" string.

Host: xxx.xx.x.xx (didn't want to advertise my IP)
Port: Default
Repository path: /devel/cvsroot/planning

The username and password work when I log in through a terminal window. Is pserver the correct connection type when connection to a unix server?

Dano
dan_kryzer@hotmail.com
What's your major malfunction
 
The best and easiest approach to my Eclipse and CVS host problem has been the "hosts" approach, setting the Unix or Windows etc/hosts file to a "cvshost" and then changing the IP address whenever the CVS host moves. I did find some files ".cvsProviderState" and "repositoriesView" inside Eclipse that could be edited with a binary editor, but that approach is messy.

Regarding Dan's "cannot connect" problem, that sounds like the CVS host has not been configured. The machine is there, but the CVS daemon program is not starting up on that box. Or the CVS servers could be listening on a different port from the default.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top