ibm Rational Rhapsody 7.5 — Converting external elements

Object model diagrams 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 Rational Rhapsody to an application being developed using Rational Rhapsody. To convert all the external elements at once: 1. Open the model. 2. Change the following properties: Љ Unoverride the property CG::Package::UseAsExternal for the top-most packages. Љ Unoverride the properties Generate and AddToMakefile (under CG::File ) 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. To convert specified external elements: 1. Create a new 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. 608 User Guide