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

Can the ClearCase version importer and ClearCase synchronizer be used together?

Can the ClearCase version importer and ClearCase synchronizer be used together?  For example,  lets say one day I decide to import labels on a stream in a stream using the ClearCase synchronizer but a few months later I decide to use the new ClearCase version importer instead in the same component.  Is that an issue? 
Or another example, can I use the ClearCase version importer to import labels on a stream in a component and then use the ClearCase synchronizer to sync both way with ClearCase?  My point is are both tools compatible when used together or  can there be conflicts?

0 votes


Accepted answer

Permanent link
CC synchronizer doesn't care about CC version importer - and vice versa. I think Geoff's answer is correct.

Please note that this scenario is not supported too.

Stephane Couillaud selected this answer as the correct answer

0 votes


2 other answers

Permanent link
Thank you @Yoshio & @Geoffrey.  One last question on the same topic.  What if we have two streams, call it Main Stream and Feature stream. On Main stream we use the ClearCase synchronizer to import labels M1, M2, & M3 and then we synchronize going forward with ClearCase (no more imports on that specific stream).  On Feature stream we use the ClearCase version importer instead, where we import labels F1 & F2 (with label M1 being the common ancestor to both streams) then going forward that stream is used for RTC development exclusively.  My question is, does this scenario work when different import tools are used for different streams?  Or is the best practice to use the ClearCase synchronizer exclusively, if we plan on synchronizing back to ClearCase when multiple streams (with a common label) are involved?

Steam Main
        |
       M1---------------Feature Stream
        |                                  |
       M2                              F1
        |                                  |
       M3 

0 votes

Comments

I believe that the CC synchronizer doesn't care whether or not versions have been imported by the CC importer ... it just will synchronize back to ClearCase whatever versions are currently selected by the synchronization stream.   But note that I don't think you can tell the CC importer to attach what is importing to some existing version in RTC that was not brought over by the CC importer ... e.g., if M1 has been brought over by the synchronizer, you cannot tell the importer to attach F1 off of M1.   (Yoshio: Please correct me if I'm wrong about that).


Permanent link
I beleive it is either one or the other.  Once one tool is used, there is no option to switch to the other.

0 votes

Comments

I agree with this answer, but for folks who are interested in the details, I will speculate a bit (I haven't confirmed any of these speculations by testing or reviewing the code). 
The importer shares a lot of code from the synchronizer, so there is a reasonably good chance that the importer just re-used the synchronizer mechnism for linking an RTC file/directory item to a ClearCase file/directory element.  
If that is the case, then after importing a bunch of code, you can create a synchronization stream against that imported code, and start two-way synchronizing between RTC and ClearCase.  But I believe the importer has no knowlege of which particular version the synchronizer has imported, so if you ran the importer after synchronizing, the importer would not re-use any of the versions imported by the synchronizer, but instead would import its own copy of those versions, so you'd end up with two versions ... one imported by the synchronizer and another by the importer.
So unless you are very careful, your users will get confused, which is why I believe Abraham's answer is the correct one (:-).

Using ClearCase Version Importer and ClearCase Synchronizer together is not supported.

If you force to run them, you would see different versions for Version Importer and Synchronizer as written in Geoff's comment.


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
× 12,014

Question asked: Mar 16 '15, 5:26 p.m.

Question was seen: 4,553 times

Last updated: Apr 05 '15, 10:59 a.m.

Confirmation Cancel Confirm