Setting up CVS

Open the  View menu and select CVS Navigator.  A new panel will open on the left side of the IDE.

 
Right-click the CVS icon in the new panel, and select New CVS Connection... from the context menu.  A dialog will apear that guides you through the setup process.     

Click Next > and you will come to the CVS connection setup wizard:

 
 

  • Make sure Access Method is set to Secure Shell via SSH2 (:ssh2(smile).
  • Fill in all the fields to specify the cvs server.
  • Select a name and location for the SSH2 key pair, and click Generate SSH2 Key Pair.  The following dialog will appear:
  • You shouldn't have to make any changes.  Make sure Generation Algorithm is set to RSA (1024-bit) and then click OK.
  • You will be prompted to enter a passphrase -- leave it blank and click OK
  • The next dialog to appear has instructions describing how to use the key.  Click OK to close it and follow the instructions below.
    Installing the ssh2 key

    FTP to ftp-slac.slac.stanford.edu, cd into the .ssh directory and put your public key file there.  In the example shown here, that file would be "C:\Documents and Settings\dflath\id_dflath.pub".
    Log into any SLAC central unix server (ie a noric).
    cd into the .ssh directory and execute the following command (replacing id_dflath.pub with the name of the file you just put with ftp):
         cat id_dflath.pub >> authorized_keys
    You can now close the terminal window and return to the JDeveloper CVS Connection Wizard dialog.

     
  • Click the Next button. 

A dialog showing the full CVS root will be displayed.  Click Next to continue.

A dialog will appear that allows you to test the connection:

 

 
If you encounter a problem, you've probably made a mistake, use the Back button to retrace your footsteps and look for an error.

After you click Next you will be able to supply an alias (pretty name) for the newly created connection.  Then click Finish and you'll see the new connection become available in the CVS Navigator window.

  • No labels

1 Comment

    1. In the 'Create CVS connection', Step 1, on Linux, Use Access Method External ( :ext2: ). Than specify the  ssh access in the dialog box 'External Locator Configuration'. Make sure, as explained in the text above, that you can ssh to the CVS server machine without user login prompt, as connection will fail if this is not so. You need to ssh to the exactly the same host name as specified in the host name in the following step.
    2. In dialog Create CVS Connection, Step 1, Host name for our java projects is  glast-java.slac.stanford.edu (glast01.slac.stanford.edu)
    3. Repository Path in the 'Create CVS connection', Step 1, should be set to '/cvs/java' to access the current java projects like org-glast-pipeline-web, org-glast-pipeline-server, etc.
    4. As '/cvs/java' contains CVSROOT, but CVSROOT does not contain the names of the modules in its directory, you have to check the names of the directories under /cvs/java to find out the name of the module that you want to check out.