Associate a Workspace with a ClearCase View 

Note: We strongly recommend that you maintain a separate WebSphere Studio workspace for each Rational ClearCase view you use.

To associate a WebSphere Studio workspace with a ClearCase view, take the following steps.

  1. To create a new view, click the ClearCase > Create New View menu option
  2. On the command line or in Windows Explorer, create a new workspace storage directory that corresponds to the new ClearCase view: "workspace_<view_tag>". 
  3. When you start WebSphere Studio on the command line, use the -data option which takes as its argument the path to the new workspace storage directory. For example:

Note: You can create an alias in you .cshrc file that automatically starts the appropriate view, sets the WORKSPACE environment variable, and starts WebSphere Studio. For example, you could create the following alias: 

alias wsappdev_<view_tag> cleartool startview <view_tag> \; env WORKSPACE=$HOME/workspaces/workspace_<view_tag> wsappdev

where wsappdev_<view_tag> is the name of the alias and <view_tag> is the name of the ClearCase view that is associated with the workspace.

menu to start WebSphere Studio with the -data option and argument.

Related tasks
Create a New View