Creating a CVS repository location

Prerequisite: A CVS server must already be configured on the host machine to create a valid repository location in the Workbench.

To create a new repository location:

  1. Open the CVS Repositories View by selecting Window > Show View > Other... on the main menu bar and then selecting CVS > CVS Repositories from the Show View dialog. Alternatively, the CVS Repositories view is also shown in the CVS Repository Exploring perspective.
  2. From the context menu of the CVS Repositories View, select New > Repository Location. The Add CVS Repository wizard opens.
  3. Enter the information required to identify and connect to the repository location:
    1. In the Host field, type the address of the host, for example mymachine.com.
    2. In the Repository path field, type the path to the repository on the host, for example /home/repo, d:/repo.
    3. In the User field, type the user name under which you want to connect to the repository.
    4. In the Password field, type the password for the above user name.
    5. From the Connection Type list, select the authentication protocol of the CVS server.  There are three connection methods that come with the Eclipse CVS client:
      • pserver - a CVS specific connection method.
      • extssh - an SSH 1.0 client included with Eclipse
      • ext - the CVS ext connection method which uses an external tool such as SSH to connect to the repository. The tool used by ext is configured in the Team > CVS > EXT Connection Method preference page.
    6. If the host uses a custom port, enable Use Port and enter the port number.
  4. (Optional) Select the Validate connection on finish if you want to authenticate the specified user to the specified host when you close this wizard. (If you do not select this option, the user name will be authenticated later, when you try to access the contents of the repository.)
  5. Click Finish. The repository location is created.

Related concepts
Team programming with CVS
CVS Repositories

Related tasks
Discarding a CVS repository location
Refreshing the CVS repositories view
Checking out a project from a CVS repository
Discovering branch and version tags
Changing the properties of a CVS Repository Location

Related references
CVS
CVS Repositories view

 
Copyright IBM Corporation and others 2000, 2002