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
About this task
You can add projects, scripts, object maps, files, test datasets, and Java™ files to Rational® ClearCase®.
Procedure
- From the Projects view, select one or several projects, directories, scripts, or files.
- Right-click, and then click .
- 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.
- To add all the application visuals in the project to Rational® ClearCase®, click Add all application visuals in the project to ClearCase.
- Under the Add to Source Control column, clear the checkbox of any element that is not to be added to source control.
- Under Comment, describe the files or directories that you are adding to source control.
- Optional: Click Keep script checked out after adding to source control to work on a script after you add it to source control.
- Click Finish. If you do not want
to add an element to source control, click Cancel.
Note: 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.