Software development with base ClearCase

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

Setting up work areas

  • Set up a view.

    On the Windows® system, customize your DevOps 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 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, click the view shortcut in the Views tab of ClearCase Explorer.
  • Check out files and modify them.
  • When you want to keep a permanent record of the state a file, check it in.
  • Add a file or directory to source control.

Maintaining work areas

Periodically update your snapshot views using cleartool update. Alternatively, on Windows systems only, in ClearCase Explorer, click Toolbox > Base ClearCase > Update.

The DevOps Code 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 DevOps Code ClearCase tasks. To start the File Browser, open a shell and enter xclearcase.

On the Windows system, click the Toolbox tab of 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 prompt to perform DevOps Code ClearCase operations.