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 beginTo 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:
- From the Functional Tester Projects view, select one or several projects, directories, scripts, or files.
- Right-click, and then click Team > Add to Source Control.
- 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.
- Under the Add to Source Control column, clear the check box of any element that you do not want to add to source control.
- Under Comment, describe the files or directories that you are adding to source control.
- Optionally, 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.
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
Software configuration management
Support for geographically-distributed project teams
Sharing a project
Checking out an element
Editing an element
Checking in an element
Undoing a checkout
Source control icons