It's all about the answers!

Ask a question

Migrating Multiple ClearCase Branches to RTC


James Mislay (118) | asked Aug 11 '16, 10:47 a.m.
This is our first data being migrated from ClearCase to RTC.  I assume we need to use the Baseline Importer to accomplish it.  We have a few questions on how to use it.  The scenario follows.  

Our team has a vob that builds multiple products (ex: Product_A, Product_B, Product_C).  The main branch build Product_A.  There are also other product specific branches that have some files that are different.  The majority of the file are shared with multiple products and are not branched. (see a v-tree depiction below for product specific files Diagram may not show properly).  We are using Base Clearcase and use labels when releasing the product versions.  All product source code reside on either the main branch or the product specific branch.  This product line has been around for years of development.  We just want to migrate the release labels.

 

 

 

 

 

I think we understand how to migrate Product_A.  We use the Baseline Importer (labels locked, attribute created and ordered based on label version) to import the main branch to the main stream in RTC.  I assume when the migration takes place, are the labels also migrated? 

 

What we are unclear about is how to migrate the product specific branches.  We want to keep the shared code and only migrate the product specific files to another stream in RTC (I think).  How do we accomplish that using the Baseline Importer?  Do we create another product stream in RTC at the baseline where he ClearCase branch was based from and migrate the labels for Product_B and target it to the new product stream.  Will that import all code to that stream (we do not want) or only the versions with release labels on the product specific branch?  And there are  versions on the main branch with the Product_B labels.  How do we migrate that to the main branch (they may be different from the versions labels with Product_A - see example v-tree below: Diagram may not show properly).

 

 

 

 

Is there a better way to accomplish this?

 

Most of the examples on jazz.net describe only migrating a single branch/single product build.  Are there reference material that describe scenarios like this one?  

One answer



permanent link
Geoffrey Clemm (30.1k33035) | answered Aug 12 '16, 12:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
In order to import a second branch, the first thing to verify is that you have already imported the label from which the second branch originated.   If so, then create an RTC snapshot which contains the RTC baselines that were created from importing that label (there will be one RTC baseline for each VOB in that CC branch).   Then create a new synchronized stream for that second branch, and in the synchronized stream creation wizard, specify that snapshot, which tells the importer to create the imported RTC stream off of the specified snapshot.

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.