Structure of ClearCase UCM Config Specs

来源:互联网 发布:云计算系统软件层 编辑:程序博客网 时间:2024/05/02 01:16

 Each UCM config spec consists of 7 sections.

Example config spec:



ucm
identity UCM.Stream oid:5c8838ad.3afb490c.9756.18:86:8e:0e:2b:fd@vobuuid:3c52409f.717248c3.8497.1a:6c:2a:25:8f:d5 1

# ONLY EDIT THIS CONFIG SPEC IN THE INDICATED "CUSTOM" AREAS
#
# This config spec was automatically generated by the UCM stream
# "user1_Project1" at 11-Jul-06 5:29:08 PM.
#



# Select checked out versions
element * CHECKEDOUT

# Component selection rules...

element "[5deb9e438c1b4051a942a264ba0da932=/UCM_Comp1]/..." .../user1_Project1/LATEST
element "[5deb9e438c1b4051a942a264ba0da932=/UCM_Comp1]/..." /main/0 -mkbranch user1_Project1
element "[5deb9e438c1b4051a942a264ba0da932=/UCM_Comp1]/..." /main/0 -mkbranch user1_Project1

element "[9bcdcb215a214a46b34830b8bf423cce=/UCM_Comp2]/Sub1/..." /main/0 -nocheckout

element "[9bcdcb215a214a46b34830b8bf423cce=/UCM_Comp2]/Sub2/..." /main/0 -nocheckout


end ucm

#UCMCustomElemBegin - DO NOT REMOVE - ADD CUSTOM ELEMENT RULES AFTER THIS LINE
#UCMCustomElemEnd - DO NOT REMOVE - END CUSTOM ELEMENT RULES

# Non-included component backstop rule: no checkouts
element * /main/0 -ucm -nocheckout

#UCMCustomLoadBegin - DO NOT REMOVE - ADD CUSTOM LOAD RULES AFTER THIS LINE




Section 1:

This section contains 2 lines:

  • Line1: ucm - This is a keyword which helpsto identify the view config spec as UCM related. All config specs forUCM start out with this line.

  • Line2: identity UCM.Stream - This line contains the OID (object identifier) of the stream and UUID (unique identifier) of the PVOB.



Section 2:

This section contains the auto generated comments about the creation of the config spec.

Note:
The creation time represents the time of the initial creation of the stream or the last rebase.



Section 3:

This section contain the first rule that is required in all config specs in order to perform checkout operations: element * CHECKEDOUT



Section 4:

Thissection contains the rules based on which baselines from whichcomponents are used in the stream. Instead of seeing the VOB-tag as youwould in a base ClearCase view, the VOB family UUID is used instead.

Note: This section ends with the keywords end ucm.


Section 5:

In this section you can add custom element rules.


Section 6:

For all components that are not selected by the rules in Section 4 and 5, there is a backstop rule included: element * /main/0 -ucm -nocheckout


Section 7:

This section provides for the load rules if a snapshot views is used.