Adding resources to DevOps Code ClearCase source control

Use the Add to Source Control dialog box to add view-private resources to DevOps Code ClearCase®.

Before you begin

Before you can add resources to ClearCase source control, the VOB to which you intend to add the resources must exist and be accessible.

  • If you are using a web view or snapshot view, the VOB directory that will contain the resources must be loaded.
  • If you are using an automatic view, you can implicitly load the resources by browsing them, or load them explicitly (by means of load rules that you have specified in the config spec).

Procedure

To add one or more resources to ClearCase source control:
  1. Select the resources that you want to add to source control.
    Use the ClearTeam Navigator, ClearTeam 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 DevOps Code 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.