Adding resources to Rational ClearCase source control

Use the Add to Source Control dialog box to add view-private resources (files and directories that are in a ClearCase view's copy area but not under Rational ClearCase source control) to Rational ClearCase.
Before you begin

Before you can add resources to ClearCase source control, all of the following conditions must be met:

About this task

To add one or more resources to ClearCase source control:

  1. Select the resources that you want to add to source control. Use the ClearCase Navigator, ClearCase Details view, or ClearCase Search Results view. If you are working in the Eclipse environment, use any Eclipse view that supports the Team context menu.
  2. To open the Add to Source Control dialog box, click the add to source control icon icon on the ClearCase toolbar, or take either of the following actions:
    • Select Add to Source Control from the ClearCase context menu.
    • In the Eclipse environment, select Add to Source Control from the Team context menu.
  3. Specify Add to Source Control options and click Apply.
  4. If there are any Rational ClearCase triggers associated with this operation, you may be prompted to supply additional information or take further action.
Results

The view-private resources are added to ClearCase and become versioned objects. If you specified Checkout files after adding to source control, the files (not the directories) are checked out and can be modified. (Your modifications are not visible to others until you check them in.)

Note: Adding a directory to source control does not add its contents. Adding the contents of a directory to source control also adds the containing directory to source control.

If resource decorations are enabled, checked-in resources are decorated with the blue square overlay icon icon and checked-out resources are decorated with the check mark icon icon.


Feedback