Adding an element to source control

New projects and new scripts and their supporting files, are all view private files and are not under IBM® Rational® ClearCase® source control until you add them to source control.

Before you begin

To add an existing HCL OneTest™ UI project to Rational ClearCase, you must create the project in a Rational ClearCase view. To share a project, if you did not create the project in a Rational ClearCase view, move the project to a Rational ClearCase view, and then add it to source control.

About this task

You can add projects, scripts, object maps, files, test datapools, and Java™ files to Rational ClearCase.


  1. From the Projects view, select one or several projects, directories, scripts, or files.
  2. Right-click, and then click Team > Add to Source Control.
  3. If you select a project or directory and want to add all the files and scripts to ClearCase, click Add all files and scripts in the project to ClearCase, and then click Next. If the project or directory contains many files, adding the files to Rational ClearCase can take several minutes.
  4. To add all the application visuals in the project to Rational ClearCase, click Add all application visuals in the project to ClearCase.
  5. Under the Add to Source Control column, clear the check box of any element that is not to be added to source control.
  6. Under Comment, describe the files or directories that you are adding to source control.
  7. Optional: Click Keep script checked out after adding to source control to work on a script after you add it to source control.
  8. Click Finish. If you do not want to add an element to source control, click Cancel.
    Note: If you see the not-ready symbol (not ready symbol) in the State column, you cannot add an element to source control. When you select the element, you see a description of the problem.