Setting Up Repositories

The following steps describe how to set up CVS repositories for use in Together. This is a prerequisite to sharing projects.

Opening the CVS Repository Exploring Perspective

First, open the CVS Repository Exploring Perspective:

  1. From the menubar, select Window > Open Perspective > Other. The Select Perspective dialog opens.


  2. Choose CVS Repository Exploring from the list, and click OK.

Using this perspective, you can add repositories for various VCS systems.

Defining Repositories

Before you share a project, you need to define the repositories that Together will use. Prior to this, the CVS Repositories view will be blank. Use the Add CVS Repository wizard to define a repository:

  1. Right click in an empty area of the CVS Repositories view, and select New > Repository Location. The Share Project wizard opens:



  2. Provide the information required by the wizard and listed in the Table below. When finished, click Next.


    Option Description

    Host

    Enter the host name for your CVS server. For example, if your login command begins with:

    CVS -d :pserver:/jane.doe@CVS-host,
    enter:

    CVS-host

    Repository path

    Enter the CVS repository as you would in the pserver section of the CVS login command. For example, if your login command begins with:

    CVS -d :pserver:/jane.doe@CVS-host/repository_alias,
    enter:

    /repository_alias

    User

    Enter the user name. For example, if your login command begins with:

    CVS -d :pserver:/jane.doe@CVS-host/repository_alias,
    enter:

    jane.doe

    Password

    Enter your valid password.

    Connection type

    Choose from the drop-down list:

    • pserver

    • ext

    • extssh

    Use Default Port and

    Use Port

    Select Use Port to define a custom port for the connection. Use Default Port is enabled by default.

    Validate Connection on Finish

    This option is checked by default. Leaving the option checked allows you to attempt to connect with the host server to ensure that all information was entered correctly.

    Use project name as module name and Use specified module name

    Click Next to see these options in the wizard. Use project name as module name is the default option, or select Use specified module name to use a different module name.


  3. Click Finish. The CVS Repositories view is updated with the new CVS repository location.

  4. Return to the Together Modeling Perspective and the Navigator view.

  5. For instructions on sharing a project, proceed to Sharing Projects.


Consult the documentation set provided with your IDE for complete details on using version control. From the menubar, choose Help > Help Contents.

You can find more information on CVS at www.cvshome.org.