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

RTC command to load a specific baseline into a sandbox

I was recently asked:

In ClearCase, you can select a specific VOB and label then download the
related sources. How does one do this in RTC?

I'm not an RTC SCM command line expert, but the equivalent of a CC VOB
label is an RTC component baseline. To download the contents of a
baseline, I believe you have to add that baseline to a workspace and
then download from that workspace.

So that would be a sequence like:
scm create workspace my-ws
scm accept --baseline my-baseline --target my-ws
scm load my-ws

You can or course skip the "create workspace" step if you have a
workspace that you can use.

If I got the syntax wrong, or if there is a better way to do this,
please follow-up.

Cheers,
Geoff

1

1 vote



One answer

Permanent link
If you do not have a workspace,
scm create workspace my-ws
scm workspace add-components my-ws comp1 comp2
scm accept --baseline my-baseline --source src-ws --target my-ws
scm load my-ws

If you already have a workspace,
scm workspace replace-components --baseline my-baseline my-ws workspace src-ws

I was recently asked:

In ClearCase, you can select a specific VOB and label then download the
related sources. How does one do this in RTC?

I'm not an RTC SCM command line expert, but the equivalent of a CC VOB
label is an RTC component baseline. To download the contents of a
baseline, I believe you have to add that baseline to a workspace and
then download from that workspace.

So that would be a sequence like:
scm create workspace my-ws
scm accept --baseline my-baseline --target my-ws
scm load my-ws

You can or course skip the "create workspace" step if you have a
workspace that you can use.

If I got the syntax wrong, or if there is a better way to do this,
please follow-up.

Cheers,
Geoff

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: Dec 29 '10, 4:23 p.m.

Question was seen: 12,754 times

Last updated: Dec 29 '10, 4:23 p.m.

Confirmation Cancel Confirm