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:

Note: The instructions presented below are intended to provide only a simple introduction to the basic product usage. For more detailed information, open DevOps Code ClearCase online documentation (Start > DevOps Code ClearCase > Online help), and then look under Developing software with 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 DevOps 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 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 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 command line prompt to perform DevOps Code ClearCase operations.