2.5 Setting Up Your Views

In the next steps of the Join Project Wizard, you set up your development view and integration view by specifying the following information:

We recommend that you accept the defaults the Join Project Wizard presents until you are familiar with UCM. For example, the default naming conventions for your views are intended to distinguish your development view from your integration view.

Determining the View Types

As described in Views, you can use either a snapshot view or a dynamic view to create a directory tree of source files. Your project manager determines the default view types that the Join Project Wizard presents.

Work in a snapshot view when any of these conditions is true:

Work in a dynamic view when any of these conditions is true:

Because a dynamic view can show changes in its attached stream at all times without requiring an update, we recommend that you use dynamic views for your integration views whenever they are available.

The two view types behave slightly differently (for example, the way you access a snapshot view is different from the way you access a dynamic view), so remember the type of view you create (Figure 13).

Figure 13 Choose View Type

For a detailed comparison of snapshot views and dynamic views, see the ClearCase online help and the view reference page in the Administrator's Guide for Rational ClearCase.

Locations for Snapshot Views

When creating a snapshot view, you must specify a view directory into which ClearCase loads, or copies, versions of source files from VOBs into the snapshot view at the directory you specify.

When choosing a directory, consider these constraints:

Under the Hood: A Snapshot View Storage Directory

Every snapshot view has a view storage directory in addition to the directory tree of source files that it loads from VOBs. ClearCase uses the view storage directory to keep track of such information as which files are loaded into your view and which versions are checked out to it. The view storage directory is for ClearCase administrative purposes only. Do not modify anything in it.

For every 1,000 elements loaded into the view, ClearCase uses about 400 KB of disk space for the view storage directory.

Locations for Snapshot View Storage Directories

Usually, your ClearCase administrator sets up a storage location, which is a directory on a ClearCase server host on UNIX or Windows, and by default ClearCase locates snapshot view storage directories in the storage location. If your ClearCase administrator sets up more than one storage location, ClearCase selects one of these locations as the default location when you create a view.

If your ClearCase administrator does not set up storage locations, ClearCase sets a directory under the root directory of the snapshot view as the default location for the view storage directory.

You can override the default location. If your administrator sets up multiple storage locations, you can select one explicitly. You can place the view storage directory under the root directory of the snapshot view.

If you place the view storage directory under the root directory of the view, be aware of the following recommendations:

NOTE: If you plan to work while disconnected from the network, your administrator must set up storage locations.

Under the Hood: .ccase_svreg

When you create a snapshot view, ClearCase creates or modifies the file .ccase_svreg in your home directory. Do not remove or relocate this file; some ClearCase operations require it.

If you inadvertently delete or corrupt this file, see Regenerating the .ccase_svreg file.

View-Tag for Dynamic Views

If you choose to create a dynamic view, take note of the view-tag. You must use the view-tag to start and access the view. The wizard presents the default view-tag based on the following conventions:

If you change the name of the view, we recommend that you choose a name that indicates the view's owner and the stream to which the view is attached.

Under the Hood: View Storage for Dynamic Views

The first time you create a dynamic view, the wizard provides a default pathname for the storage directory. Click Advanced Options to provide a different pathname for the view storage directory. The location you choose becomes the default for other dynamic views that you create. ClearCase uses this directory to keep track of which versions are checked out to your view and to store view-private objects. The view storage directory is for ClearCase administrative purposes only. Do not modify anything in it.

The size of the view storage directory depends on the following factors:

For more information, see the clearmake reference page in the Command Reference.

Valid Locations for Dynamic View Storage Directories

Consider the following restrictions when choosing a dynamic view storage directory:

We recommend that you make the view storage directory accessible to any data backup schemes that your organization institutes.