Converting external elements

You can convert external elements so they are no longer external (and therefore include them in code generation). This functionality enables you to gradually move code that was developed outside of IBM® Rational® Rhapsody® to an application being developed using Rational Rhapsody.

Converting all the external elements at once

Procedure

  1. Open the model.
  2. Change the following properties:
    • Unoverride the CG::Package::UseAsExternal property for the top-most packages.
    • Unoverride the CG::File::Generate and CG::File::AddToMakefile properties for the top-most folders in the external element component.
  3. Add the packages and classes to the scope of the development component and remove the packages and classes from the external element component.
  4. Delete the external component.
  5. Generate and build the code.
  6. Continue development in Rational Rhapsody as usual.

Converting specified external elements

Procedure

  1. Create a package for the converted elements (for example, RedesignPackage).
  2. Add the new package to the scope of the development component.
  3. Move one class or file from the external package to the RedesignPackage.
  4. Generate, build, and test the code. Repeat as necessary.
  5. Repeat Steps 3 and 4 for as many classes or files as you want to convert.
  6. Continue development in Rational Rhapsody as usual.

Feedback