Friday, March 19, 2010
Changing CVS Username and Password in an Eclipse Project
I'm posting this for my future reference since I could find any reference to changing a saved CVS username and password for an already created Eclipse project. This post has nothing to changing CVS credentials on a CVS server. I needed to do this because I had commits to make to an open source project however the project I originally setup was using the anonymous read only access. 1. You need to set a new connection string for the CVS repository you want to access by using the CVS Repository view. Goto the "Window" menu -> "Show View" -> "Other" -> find "CVS" section and expand -> "CVS Repositories" 2. Next setup the new connection string for your repository Click on the mini icon of this view (a cylinder with the word "CVS" and a "+" sign) -> Add your new CVS repository 3. Associate the new repository (could be the same repository with different login credentials) with your project Right click on the project in the "Navigator" -> select "Properties" -> in the properties tree select "CVS" -> hit the "Change Sharing..." button -> select your new repository and "OK" -> hit "Apply" back on the properties page I hope this helps somebody in the future.