Sharing a project

If you use IBM® Rational® ClearCase®, you must share the functional test project and then add the project to source control. When you share a project, you move it to a Rational® ClearCase® snapshot or dynamic view. The project must be in a Rational® ClearCase® view for you to add it to source control.

About this task

A snapshot view contains copies of Rational® ClearCase® versions and other file system objects in a directory tree. A dynamic view is always current with the versioned object base (VOB). Dynamic views use, create, and maintain a directory tree that contains versions of VOB elements and view-private files.

You can add a project to Rational® ClearCase® source control after you create the project, provided that you share the project and move it to a Rational® ClearCase® view.

Procedure

To share a functional test project:

  1. In the Projects view, right-click a new project, and then click Team > Share Project.
  2. In the Configure the project for ClearCase dialog box, click Browse to choose a directory that is in a Rational® ClearCase® VOB, and then click Finish.
  3. In the Projects view, right-click the project, and then click Team > Add to Source Control.
  4. Add all files and scripts, or only the project to Rational® ClearCase®:
    • Click Add all files and scripts in the project to ClearCase to add all files and scripts in the project to Rational® ClearCase®. Adding all files and scripts to Rational® ClearCase® might take several minutes.
    • Click Finish to add only the project to source control.