Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Changing CVS host in Eclipse IDE

Changing CVS host in Eclipse IDE

Changing CVS host in Eclipse IDE

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.

RE: Changing CVS host in Eclipse IDE

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:       localhost
www.xxx.yyy.zzz    YourCVSServerName

And target Eclipse on YourCVSServerName.



RE: Changing CVS host in Eclipse IDE

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?

What's your major malfunction

RE: Changing CVS host in Eclipse IDE

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close