Add an element to source control

A new project, and a new script and its supporting files, are all view private files and are not under ClearCase® source control until you add them to source control.

Before you begin

To add an existing Functional Tester project to ClearCase, create the project in a ClearCase view. If you did not create the project in a ClearCase view, to share the project, move it to a ClearCase view, and then add it to source control.

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

To add an element to source control:


  1. From the Functional Tester 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 there are many files in the project or directory, it can take several minutes to add them to ClearCase.

  4. Under the Add to Source Control column, clear the check box of any element that you do not want to add to source control.

  5. Under Comment, describe the files or directories that you are adding to source control.

  6. Optionally, click Keep script checked out after adding to source control to work on a script after you add it to source control.

  7. Click Finish. If you do not want to add an element to source control, click Cancel.

    If you see the 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.

What to do next

Related concepts

Software configuration management


Support for geographically-distributed project teams

Unreserved elements

Related tasks

Sharing a project

Checking out an element

Showing checkouts

Editing an element

Checking in an element

Undoing a checkout

Related reference

Source control icons