ClearCase views and Eclipse workspaces

When using the ClearTeam® Explorer for Eclipse, use a separate Eclipse workspace for each ClearCase® view that you create.

Because the contents of a ClearCase view are determined by its configuration specification (and for some view types, by load rules), only one version of a resource is valid in any ClearCase view at a time. A ClearCase view selects a consistent set of versions. If you import projects from multiple ClearCase views into a single Eclipse workspace, the workspace may reference an inconsistent, incompatible combination of resources.

There are two ways to create an Eclipse workspace to associate with a ClearCase view:

  • You can create the ClearCase view, then use the Eclipse File > Switch Workspace->Other command to create a new workspace and switch to it.
  • You can create the workspace first, by starting Eclipse with the command line argument -data workspace-path, where workspace-path is the path to the workspace that you want to associate with a ClearCase view that you plan to create.

Regardless of the way in which you choose to create the Eclipse workspace, consider creating the workspace in a folder whose name is based on the ClearCase view tag of the view with which the workspace is associated.