Merging imported code into an imported model

Once you have imported your IBM® Rational Rose® model into IBM Rational® Rhapsody® and separately imported the code for that imported Rational Rose model, you can merge the operation and function bodies from the imported code into the corresponding imported Rational Rose model.

About this task

Note: This merging process copies the code from all the operations/functions in one top-level package to another. The merging process does not work for operations/functions that might be in subpackages (packages under a top‑level package). In addition, the destination package must contain the same class/operation structure as the package that contains the imported code (though the destination package must have operations/functions with empty bodies waiting for the imported code).

To merge imported code to its corresponding imported Rational Rose model:

Procedure

  1. With the imported Rational Rose model opened in Rational Rhapsody, choose Tools > Import from Rose > Merge Model and Code.
  2. On the Merge Model and Code window, choose the code package (the imported code from your Rational Rose model) from the drop‑down list and the model package (in the imported Rational Rose model) to which you want the imported code.
  3. Click Start.
  4. Notice that a log of the merge progress prints on the Log tab of the Output window. Upon successful completion of the merge process, you see the code for the imported operations/functions in the applicable package in your imported Rational Rose model.

Feedback