CVS Access

The Open Test Manager project uses CVS for version control. As the development team has standardized on the Eclipse IDE as development environment the following guide shows how to setup a project to access the Open Test Manager source CVS.

Note that you can also browse the CVS directly on the web at:

http://cvs.sourceforge.net/viewcvs.py/test-manager/main/

Creating a project

  • Be sure to have the latest stable version of eclipse (3.0.2) installed. It can be downloaded from www.eclipse.org
  • From the "File" menu, select "New" and then "Project". A popup-dialog should appear.
  • Choose "CVS" to expand the options. From there select "Checkout Projects from CVS". Press the "Next" button.
  • Make sure that "Create a new repository location" is checked and press the "Next" button. NOTE: If you do not already have a CVS repository setup, eclipse will automatically proceed to the next instruction below.
  • Now you should enter repository location information:
    • Host: cvs.sf.net
    • Repository path: /cvsroot/test-manager
    • User: *Your sourceforge user name*
    • Password: *Your sourceforge password*
    • Connection type: extssh
    • Use Default Port: checked, so ignore the "Use Port:" option.
    • Save Password: It is convenient to check this box.
    Press the "Next" button to finish the configuration.
  • You should now select the module. Let "Use specified module name:" be checked and enter main. Press the "Next" button.
  • Eclipse should now download files from the CVS repository, after which you should be able to browse around the files just as in a normal eclipse project.

Making sure you got the latest version of the source

  • Too see what the other developers of Open Test Manager has been submitting to the source repository, you need to update your local copy of the sources from time to time
  • In the package explorer view, right click on the main folder. Enter the Team submenu and from there press Update. A dialog should appear, and you could let Use the tag currently associated with the workspace resources remain checked. Press the Finish button.
  • Eclipse should now download the latest version.

Commit your changes to a file

  • Directly under main, you should find a file named TESTING.txt which you can play around with. Try and change it and save the file. After you have saved the file, eclipse should mark the file with a '>' to mark that you need to commit the file to the repository.
  • To commit the file, do the following:
    • Right click on the file you where you want to commit your changes.
    • Enter the Team submenu
    • Press Commit from the Team submenu.
    • You should be prompted for a "Commit comment". Generally, you should give a descriptive comment explaining in a sequence or two about your commit, such as "Changing method names to something more sane" or "Fixing the 'connection lost' bug". Since you are only playing around now, just enter something funny.
    • You are done, and everyone else should be able to view your changes by synchronizing with the repository!

Further information