Configure Clearcase UCM repository
| Chapter 3. Configure repositories |

## Configure Clearcase UCM repository

You should have Clearcase client installed on the build machine. Also you should make sure that the account running your application server or servlet container is able to access your Clearcase server and that it can make snapshot views. Here is the list of properties you should configure for this repository:

Clearcase view stgloc name

  Name of the Clearcase view storage location, which will be used as -stgloc option when creating Clearcase view for this project.

Project VOB tag

  Tag for the project vob, for example: \pvob1.

Explicit path for view storage

  This property is required only when the Clearcase view stgloc name property is empty. If specified, it should be parent directory of .vws directory for created snapshot view. For example, if you specify \\server1\dir1 here, QuickBuild will use \\server1\dir1\<view tag>.vws as the -vws option to create Clearcase view. Here <view tag> will be replaced by actual view tag.

  | Note
  This value should be a writable UNC path on Windows platform.

UCM stream name

  Name of the UCM stream.

What to build

  Specifies baselines you want to build inside the stream. Multiple baselines are separated by space. The following values have particular meaning:

  <latest>

    means build with all the latest code from every component.

  <latest_bls>

    means build with all the latest baselines from every component.

  <rec_bls>

    means build with all the recommended baselines.

  <found_bls>

    means build with all the foundation baselines.

Modification detection config

  This property will only take effect when the What to build property equals to <latest>. It is used by QuickBuild to determine, if there are any changes in the repository since the last build. This property consists of multiple entries with each entry per line. Each entry is of the format <path>:<branch>. <path> is a path inside a vob. This path should start from the vob name, for example: \myvob\modules\mymodule. <branch> stands for the name of the branch. For sub branches, you needn't specify the names of any "super" -branches, just the name of the actual branch is enough.

Extra options when creating snapshot view

  You may optionally specify extra options for the cleartool mkview sub command used by QuickBuild to create related clearcase snapshot view for the current project. Options that can be specified here are restricted to -tmode, -ptime, and -cachesize. For example you can specify -tmode insert_cr to use Windows end of line text mode.

Path to cleartool executable

  Specify path to your cleartool executable file. For example: `/usr/local/bin/cleartool`. It should be specified here, if it does not exist in the system path.

Quiet period

  Number of seconds current repository should be quiet (without checkins) before QuickBuild decides to check out the code from this repository for a build. This is used to avoid checking out code in the middle of some other checkins. This property is optional. When set as 0, quiet period will not be used before checking out code to build.

Login mapping

  Choose login mapping for this repository. Login mapping is used to map repository login to QuickBuild user. It can be configured at "login mappings" tab of the configuration.

Chapter 3. Configure repositories |  | Configure CVS repository