Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Using CC importer with composite baselines

Hi,
I should import lot of sources from clearcase into RTC. These sources are partitioned into several UCM components and are tagged by composite baselines.
I should import only a subset of baselines.
I tried the mechanism based on clearcase attribType and attributes applied to the baseline described in https://jazz.net/library/article/50/; it works fine, but I can't find a simple way to use it in my scenario: I have one composite baseline (e.g. named bsl_1.3.8) and several derived baseline linked to it (e.g. named bsl_1.3.8.17, bsl_1.3.8.317, bsl_1.3.8.2145) one on each component.

The question is: Is there any way to apply an attribute to a composite baseline and automatically to every baseline derived from it (I can't find any cleartool mkattr option to do tihs)?
Otherwise what is the cleartool command to obtain the list of all the baselines linked to a composite baseline?

Even thought the question is about clearcase, I need this info to use the RTC's CC-Importer.

Thanks in advance,
Marco

0 votes



One answer

Permanent link
I'm not aware of a single cleartool command that will recursively apply an attribute to all baselines that are members of a composite baseline, so you probably will need to write a script for this. The cleartool command for listing all of the direct dependency (member) baselines of a composite baseline is
lsbl -long
.

I believe it would be reasonable to expect the CC Synchronizer to handle this automatically, by treating a baseline as being selected if there is the specified attribute on any composite baseline that contains the baseline as a member. I've submitted work item 198544 for this enhancement.

Cheers,
Geoff



Hi,
I should import lot of sources from clearcase into RTC. These sources are partitioned into several UCM components and are tagged by composite baselines.
I should import only a subset of baselines.
I tried the mechanism based on clearcase attribType and attributes applied to the baseline described in https://jazz.net/library/article/50/; it works fine, but I can't find a simple way to use it in my scenario: I have one composite baseline (e.g. named bsl_1.3.8) and several derived baseline linked to it (e.g. named bsl_1.3.8.17, bsl_1.3.8.317, bsl_1.3.8.2145) one on each component.

The question is: Is there any way to apply an attribute to a composite baseline and automatically to every baseline derived from it (I can't find any cleartool mkattr option to do tihs)?
Otherwise what is the cleartool command to obtain the list of all the baselines linked to a composite baseline?

Even thought the question is about clearcase, I need this info to use the RTC's CC-Importer.

Thanks in advance,
Marco

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Feb 24 '12, 9:58 a.m.

Question was seen: 3,228 times

Last updated: Feb 24 '12, 9:58 a.m.

Confirmation Cancel Confirm