To create a baseline by label type

Procedure

  1. Create and apply a label type.

    On Linux and the UNIX system, if the set of versions that you want to use are not already labeled, use the cleartool mklbtype and mklabel commands to create and apply a label type. For example:

    % cleartool mklbtype –c "label for release 2" REL2 
    Created label type "REL2".
    % cleartool mklabel -recurse REL2 .
    Created label "REL2" on "." version "/main/5".
    Created label "REL2" on "./src" version “/main/6".
    Created lable "REL2" on "./src/Makefile" version “/main/2".

    The –recurse option causes the label to be applied to all versions at or below the current working directory.

    On the Windows system, if the set of versions that you want to use are not already labeled, use the Apply Label Wizard to make and apply a label type. To start the Apply Label Wizard, do one of the following steps:

    • Click Start > Programs > HCL > HCL VersionVault > Apply Label Wizard
    • Enter clearapplywizard at the command prompt
  2. In the Project Explorer, select the PVOB. Do one of the following:
    • On Linux and the UNIX system, click Tools > Import > Import Label. Step 1 of the Import Label Wizard appears.
    • On the Windows system, click Tools > Import > Label as Baseline.
  3. In Available Components, select the component that contains the label from which you want to create a baseline.
    • Click Add to move that component to the Selected Components list.
    • Select a component in the Selected Components list and click Remove to move the component back to the Available Components list.
  4. In Step 2, select the label type that you want to import, and enter the name of the baseline that you want to create for the versions identified by that label type.
    Note: You cannot import a label type from a global label type definition.
  5. Then select the baseline promotion level.