Generating code for packages

About this task

IBM® Rational® Rhapsody® generates code for a package only if it contains meaningful information, such as instances, types, and functions. This streamlines the code generation process by preventing generation of unnecessary package files.

To modify this behavior, use the CG::Package::GeneratePackageCode property. See the definition provided for the property on the applicable Properties tab of the Features window.

To remove existing package files that do not contain meaningful information, select Code > Clean Redundant Source Files.


Feedback