ClearCase view configuration

Each ClearCase® view has a configuration specification that controls which resources it loads from the server.

The contents of a ClearCase view are determined by its configuration specification (config spec). The config spec of a ClearCase view includes two kinds of rules:

If you are using UCM, config specs are defined by the project and created automatically. You must create load rules yourself, regardless of whether you are using UCM or base ClearCase.

About load rules

When you create a ClearCase view, it has no load rules. Until you define load rules for the view, it cannot load resources from the server. There are several ways to create load rules:

An individual load rule can specify a file or a directory. A load rule that specifies a directory loads the directory and all its contents (files and subdirectories). A load rule that specifies a file loads only the specified file. To load all resources in a VOB or a component, create a load rule that specifies the root directory of the VOB or component.

Regardless of how a load rule was created, you use the load rule editor in the Edit Configuration to remove it.

About config specs

A config spec is set of rules that use metadata such as branch name, version number, and label, to specify the versions of elements that are selected by the view. A config spec selects at most one version of any element. When you load an element, the version selected by the config spec is loaded.

The config spec for a UCM view is determined by the UCM project with which it is associated. Config specs for UCM views can be edited only to add custom rules in the areas where they are permitted. By default, a base ClearCase view uses a config spec that selects the latest version on the main branch of each loaded element. This is known as a /main/LATEST rule.

Any time you change a config spec, the view must be updated so that it contains the selected versions. An update can result in new versions being loaded, old (no longer selected) versions being unloaded, or both. When you use the config spec editor on the Load Rules tab of the Edit Configuration, applying your changes starts the update. The UCM Rebase Stream and Deliver from Stream operations, which may change the config spec, also cause the view to be updated.


Feedback