It's all about the answers!

Ask a question

Clarification on ClearCase UCM sync'


David Dulling (13731212) | asked Jul 19 '10, 5:22 a.m.
Hi

Can somebody tell me what should happen in an import with history from a ClearCase UCM stream?

I set up a synchronise stream to my Integration stream in ClearCase selecting one component

It created a child stream in ClearCase - although it is configured with the oldest baseline for this component - with an associated view (at least I could have sworn at some point there was a view on this stream too but it's now gone).

Can you confirm what this child stream is used for please?

Anyway, the Import completed OK and everything (i.e. all files) seems to be included in the new RTC component

I reran the Sync' again and it worked OK but obviously since nothing had changed, nothing new was imported

I now changed a file directly in the ClearCase integration stream but did not baseline.

Rerunning the sync' completed OK but nothing new was imported. Fair enough if the sync' only picks up new baselines (can you confirm)

I then baselined the ClearCase integration stream and reran the sync'

This time the sync' failed with the error messages shown below. It looks like a rebase command was issued against the ClearCase stream but this is invalid on an integration stream. Rebases are only valid when performed on child streams of the integration stream. I can't find any documentation that says not to sync' to a UCM Integration stream.

javax.wvcm.WvcmException: Failure while trying to execute cleartool command:

cleartool rebase -view DO_NOT_USE_OpLogs_Test2_OptB_XCH_Int_d1c3954b-edd4-4794-900c-d46476271f2b -complete -stream oid:082af933.6be944e1.b111.59:40:b3:70:91:6c@vobuuid:9a00689a.37c34ac3.ab81.61:9f:3f:fc:e1:a9 -baseline baseline:RTC_Test_1.6026@\OpLogs_Test2_PVOB

cleartool: Warning: Baseline "RTC_Test_1.6026" overrides baseline(s): OpLogs_Test2_UpLoad_SS_18_05_2009.4454
cleartool: Error: Can't rebase to baseline "RTC_Test_1.6026"
of component "AuditAnalysis" because it was created in this stream.
cleartool: Error: Unable to rebase stream "OpLogs_Test2_OptB_XCH_Int".

current working directory: V:\DO_NOT_USE_OpLogs_Test2_OptB_XCH_Int_d1c3954b-edd4-4794-900c-d46476271f2b
command result status: 1
command duration: 1203 ms
process environment:

Thanks

David

2 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Jul 19 '10, 11:25 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Everything that you were doing sounds right to me.
Please contact support, or submit a defect workitem, selecting the
ClearCase Connector as the category.

Cheers,
Geoff

On 7/19/2010 5:23 AM, daviddulling wrote:
Hi

Can somebody tell me what should happen in an import with history from
a ClearCase UCM stream?

I set up a synchronise stream to my Integration stream in ClearCase
selecting one component

It created a child stream in ClearCase - although it is configured
with the oldest baseline for this component - with an associated view
(at least I could have sworn at some point there was a view on this
stream too but it's now gone).

Can you confirm what this child stream is used for please?

Anyway, the Import completed OK and everything (i.e. all files) seems
to be included in the new RTC component

I reran the Sync' again and it worked OK but obviously since nothing
had changed, nothing new was imported

I now changed a file directly in the ClearCase integration stream but
did not baseline.

Rerunning the sync' completed OK but nothing new was imported. Fair
enough if the sync' only picks up new baselines (can you confirm)

I then baselined the ClearCase integration stream and reran the sync'

This time the sync' failed with the error messages shown below. It
looks like a rebase command was issued against the ClearCase stream
but this is invalid on an integration stream. Rebases are only valid
when performed on child streams of the integration stream. I can't
find any documentation that says not to sync' to a UCM Integration
stream.

javax.wvcm.WvcmException: Failure while trying to execute cleartool
command:

cleartool rebase -view
DO_NOT_USE_OpLogs_Test2_OptB_XCH_Int_d1c3954b-edd4-4794-900c-d46476271f2b
-complete -stream
oid:082af933.6be944e1.b111.59:40:b3:70:91:6c@vobuuid:9a00689a.37c34ac3.ab81.61:9f:3f:fc:e1:a9
-baseline baseline:RTC_Test_1.6026@\OpLogs_Test2_PVOB

cleartool: Warning: Baseline "RTC_Test_1.6026" overrides
baseline(s): OpLogs_Test2_UpLoad_SS_18_05_2009.4454
cleartool: Error: Can't rebase to baseline
"RTC_Test_1.6026"
of component "AuditAnalysis" because it was created in this
stream.
cleartool: Error: Unable to rebase stream
"OpLogs_Test2_OptB_XCH_Int".

current working directory:
V:\DO_NOT_USE_OpLogs_Test2_OptB_XCH_Int_d1c3954b-edd4-4794-900c-d46476271f2b
command result status: 1
command duration: 1203 ms
process environment:

Thanks

David

permanent link
David Dulling (13731212) | answered Jul 20 '10, 2:46 a.m.
Defect raised http://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=122268

Your answer


Register or 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.