OpenSubsystems

Business Components for Java Applications

Documentation

Connecting
to CVS

Last modified

$Author: bastafidli $
$Date: 2006/08/27 07:52:10 $
$Revision: 1.9 $
$RCSfile: connectingtocvs.html,v $

Configuring repository

The easiest way how to start developing OpenSubsystems is to download the latest code or some particular release from the CVS. Eclipse IDE provides integrated CVS client seamlessly allowing to update your local copy of the code with any new changes or commit any modified files into the shared repository.

After Eclipse IDE started, open CVS perspective by going to Window menu and selecting Open Perspective > CVS Repository Exploring. Here you can configure what CVS repository you want to access.

Opening CVS Perspective

Once the CVS Repository Exploring opens, you can add new CVS repository by clicking with the right mouse button in the CVS Repositories view and selecting New > Repository Location... menu item. In the Add CVS Repository dialog specify

opensubsystems.cvs.sourceforge.net

as Host and

/cvsroot/opensubsystems

as Repository path.

If you have commit access to the CVS repository you have to have an account at SourceForge.net. In this case you can enter your account name and password in User and Password edit boxes. Change Connection type to extssh. Optionally check the Save Password checkbox.

If you do not have commit access to the CVS repository you can still download the source code and receive any updated files through anonymous access. Enter User as anonymous and leave the Password empty. Leave the Connection type set to pserver. You can find more information how to configure access to CVS at CVS Repository section of the project page.

Click the Finish button and wait until Eclipse validates the connection. You may receive several messages about Eclipse creating your SSH keys. Just confirms all the prompts.

Add CVS Repository

Downloading files

Once Eclipse creates the repository in the CVS Repositories view expand it using the + sign. If you want to retrieve the latest code Expand the HEAD node using the + sign. Right click on the OpenSubsystems node and select Check Out As... menu item. In the newly opened dialog leave selected the default choice and click the Next button.

Check Out As Step 1

On the second page of the dialog unchek the Use default workspace location and in the Location box type

C:\Development\OpenSubsystems

depending on where your Development directory is located. Click Next button and on the third page of the dialog select the HEAD node and click Finish button.

Check Out As Step 2 and 3

Go have a coffee or a snack while Eclipse downloads all the source code and external libraries. It may take a while depending on a speed of your Internet connection.

Next: External Libraries
Previous: Development Environment