home / blog

cleartool with UCM baselines for different components

UCM baselines can be found from a VOB using cleartool lstype as follows:

vob using cleartool lstype -short -kind lbtype -invob /vobs/Foo
LABEL_A_1.0.0
LABEL_B_1.0.0

When there are many UCM components in a VOB then there is no way to see which label corresponds to which UCM component. So say you had two components UcmCompA and UcmCompB.

element /vobs/Foo/UcmCompA/... < rule >
element /vobs/Foo/UcmCompB/... < rule >

Get the PVOB associated with the VOB

cleartool describe -short -ahlink AdminVOB vob:/vobs/Foo | cut -d: -f2
/vobs/Foo_PVOB

Next – get the UCM baselines

cleartool lsbl -short -component UcmCompA@/vobs/Foo_PVOB
LABEL_A_1.0.0

cleartool lsbl -short -component UcmCompB@/vobs/Foo_PVOB
LABEL_B_1.0.0
This entry was posted in geek and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published.