Software development with base ClearCase

With base ClearCase®, your project manager uses triggers, scripts, and other Rational® ClearCase features to support development policies that are unique to your organization. The following development tasks are common to all projects that use Rational ClearCase:

Note: The instructions presented below are intended to provide only a simple introduction to the basic product usage. For more detailed information, open Rational ClearCase online documentation (Start > Programs > IBM Rational > IBM Rational ClearCase > Online help), and then look under Developing software with Rational ClearCase.

Setting up work areas

  • Set up a view.
  • On the Windows system, customize your Rational ClearCase Explorer environment.
  • To work on the branch for your project, edit the config spec for your view.
    • On Linux and the UNIX system, use cleartool edcs.
    • On the Windows system, click Toolbox > Base ClearCase > Edit View Properties in Rational ClearCase Explorer.

Working on source files

  • Access your view.
    • On Linux and the UNIX system, if you created a dynamic view, set the view with cleartool setview and mount VOBs with cleartool mount. If you created a snapshot view, change to the snapshot view root directory.
    • On the Windows system, in Rational ClearCase Explorer, click the view shortcut in the Views tab.
  • Check out the files and modify them.
  • When you want to keep a permanent record of the state a file, check it in.
  • As you create new files and directories, add them to source control.

Maintaining work areas

Periodically update your snapshot views.
  • On Linux and the UNIX system, use cleartool update.
  • On the Windows system, in Rational ClearCase Explorer, click Toolbox > Base ClearCase > Update.

The Rational ClearCase graphical user interface

Another way to become familiar with base ClearCase is to run the GUI.
  • On Linux and the UNIX system, use the File Browser, from which you can start many of the basic Rational ClearCase tasks. To start the File Browser, open a shell and enter xclearcase.
  • On the Windows system, click the Toolbox tab of Rational ClearCase Explorer to see some of the tools that you can use to manage your source files. Browse through the menus.
You can also use the cleartool command line prompt to perform Rational ClearCase operations.

Feedback