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:
- The VOB to which you intend to add the resources must exist and be accessible
by the ClearCase server.
- The VOB directory that will contain the resources must be loaded into
a local ClearCase view.
- The resources to be added must be in the copy area of that view, within
the loaded (VOB) directory that will contain them.
- You must be connected to the ClearCase server that supports the view.
About this task
To add one or more resources to ClearCase source control:
- 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.
- To open the Add to Source Control dialog box,
click the
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.
- Specify Add to Source Control options and
click Apply.
- 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
icon
and checked-out resources are decorated with the
icon.