Before moving snapshot views

Moving a snapshot view varies between Rational® ClearCase® LT and Rational ClearCase systems.

In Rational ClearCase LT systems

On UNIX® systems and Linux®, you can use the standard mv command to move the snapshot view directory tree of loaded elements and view-private files. You can move the view to a different computer, but the computer must run Linux or the UNIX operating system.

On Windows® systems, you can use standard Windows commands (such as Cut and Paste or drag operations) in Rational ClearCase Explorer or Windows Explorer to move the snapshot view directory tree of loaded elements and view-private files. You can move the view to a different computer, but the computer must run a Windows operating system. If you created a shortcut to the view in Rational ClearCase Explorer, you must modify the shortcut to indicate the new path of the view root directory.

If you move a view, you must register its new location (see Register after moving the view).

In Rational ClearCase systems

This section discusses the following tasks:

For information on changing a view tag, see the mktag reference page.

Changing the physical location of a snapshot view

On UNIX systems and Linux, if the view storage directory is in a server storage location, you can use the standard mv command to move the snapshot view directory tree of loaded elements and view-private files. You can move the view to a different workstation, but the workstation must run Linux or the UNIX operating system.

On Windows systems, if the view storage directory is in a server storage location, you can use standard Windows commands (such as Cut and Paste or drag operations) in Rational ClearCase Explorer or Windows Explorer to move the snapshot view directory tree of loaded elements and view-private files. You can move the view to a different computer, but the computer must run a Windows operating system.

Attention: If the view storage directory is located below the root directory of the view or in another local directory, do not use the standard mv command (on UNIX systems and Linux) or the standard Windows commands (on Windows systems) to move the snapshot view. Instead, see Register after moving the view.

On Windows systems only, if you created a shortcut to the view in Rational ClearCase Explorer, you must modify the shortcut to indicate the new path of the view root directory.

If you move a view to a different computer, you must register its new location (see Register after moving the view).

Moving a view storage directory

Each snapshot view includes a view storage directory, which is used to maintain the view. Do not use the standard mv command (on UNIX systems and Linux) or the standard Windows commands (such as Cut and Paste or drag operations) (on Windows systems) to move a view storage directory for the following reasons:

You should ask your Rational ClearCase administrator to move snapshot views that locate view storage directories in the view because it may affect other Rational ClearCase users at your site. The IBM Rational ClearCase Administrator's Guide describes the procedure for moving view storage directories.

Caution: You will lose data if you move a view storage directory without following the procedure described in the IBM Rational ClearCase Administrator's Guide.

Register after moving the view

On a Rational ClearCase LT or Rational ClearCase system, you must register the view after moving a snapshot view. If you are working on a Windows system, you must also refresh any view shortcut in Rational ClearCase Explorer that uses the old path to the view. Until you register its new location and, on Windows systems, refresh any view shortcut, Rational ClearCase user interfaces continue to present the old location.

For information about changing a view tag (which is the logical name for a view), see the mktag reference page in the IBM Rational ClearCase Command Reference.

Related concepts
About snapshot view storage directories
About locating snapshot view root directories
About dynamic view storage directories
About registering snapshot views
About sharing files between Visual Studio projects
Related tasks
To choose a location for a snapshot view storage directory
To register a snapshot view using Windows Explorer (Windows)
To find a view storage directory

Feedback