It's all about the answers!

Ask a question

CC and RTC Bi-Directional Sync


Lucy Kirk (31157) | asked Jul 15 '13, 6:12 a.m.
retagged Aug 14 '13, 12:55 p.m. by Te-Hsin Shih (2854)
Is it possible to have a bi-directional sync stream with history??  I know in the GUI the only option seems to be a stream sync with history or sync stream bi-directional. Just wondering if there was a way to have both!! Thanks in advance.

2 answers



permanent link
cunxia sun (111) | answered Jul 15 '13, 7:25 p.m.
JAZZ DEVELOPER

permanent link
Geoffrey Clemm (30.1k33035) | answered Jul 16 '13, 12:26 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jul 17 '13, 12:42 a.m.
You can effectively have a bi-directional sync-stream with history by first creating a sync-stream with history on a given ClearCase stream/branch, and then creating a bi-directional sync-stream (on that ClearCase stream/branch) that is initialized with the end state of the sync-stream with history.  Once the bi-directional sync-stream is created based on  the sync-stream with history, you can delete the sync-stream with history, leaving you with a bi-directional sync-stream with history.

Comments
Masabumi koinuma commented Jul 16 '13, 6:07 a.m.
JAZZ DEVELOPER

I agree that you can create a bi-directional sync-stream with history by the step Geoff described.
In terms of initializing the bi-directional sync-stream with the end-state of the sync-stream with history, I'd recommend to create a snapshot with the end-state of the sync-stream with history then select it by Specify a snapshot to be used as initial content of Jazz synchronized stream option at the last page of New ClearCase Synchronized Stream wizard.


Lucy Kirk commented Jul 17 '13, 6:30 a.m. | edited Dec 13 '13, 7:24 p.m.

Thanks for your answers. We'll give the two stream approach a go.


Lucy Kirk commented Jul 23 '13, 8:48 a.m. | edited Dec 13 '13, 7:24 p.m.

Hi

Have managed to get the two streams talking, but when making a baseline in CC it errors when trying to bring it into RTC. Any ideas on this error???

Problem running 'synchronizeStream':
Synchronization blocked by error:
javax.wvcm.WvcmException: Last imported baseline was not found in stream
Component: (CTLocation: COMPONENT|oid:e6c8bcae.b5d644ba.abb6.d3:be:99:f6:65:ea@vobuuid:04de4a95.7214489e.90f5.99:e3:ad:2a:e3:76)
Stream: (CTLocation: STREAM|stream:rtc_his_2_FDM_MAIN_6@/vob/CMS_INFORMATION_SERVICES_PROJECTS)
Last imported baseline: id=(CTLocation: oid:5af1e020.9c774a0f.9c0a.d0:46:0a:20:fe:c5@vobuuid:04de4a95.7214489e.90f5.99:e3:ad:2a:e3:76) id=null
Baseline List:
   loc=(CTLocation: BASELINE|baseline:FDM_rtc_first_test_rtc_his_2_FDM_MAIN_6@/vob/CMS_INFORMATION_SERVICES_PROJECTS) id=oid:2603eed0.f37011e2.8f62.00:50:56:92:02:5f@vobuuid:04de4a95.7214489e.90f5.99:e3:ad:2a:e3:76
Build failed. Exit value was 3.


Masabumi koinuma commented Jul 23 '13, 11:08 p.m.
JAZZ DEVELOPER

The error message is saying that the synchronizer previously imported this baseline ( oid:5af1e020.9c774a0f.9c0a.d0:46:0a:20:fe:c5@vobuuid:04de4a95.7214489e.90f5.99:e3:ad:2a:e3:76 ) and is now trying to find delta from the new baseline, but the previously imported baseline does not exist in the UCM stream.
If you run 'cleartool describe' of the universal selector ( oid:5af1.... ), you can find the origin of the baseline, and may find where the trick is.

Your answer


Register or to post your answer.