Question & Answer
Question
How do you reduce the size of the generated code in IBM Rational Rhapsody?
Cause
Reducing the size of the generated code would help you in removing the unwanted section of generated code.
Answer
In order to reduce the size of generated code, use one of the following methods :
Method 1: Unchecking of undesired Properties
Unchecking of specific code generating properties would render some aspects of the code from not being generated.
Method 2: Using IDF or NOF
Interrupt Driven Framework or No Framework are customized / customizable framework / property settings that take away the OXF (framework) dependencies from the generated code.
Method 3: Customizing code generation rules
This can be achieved by making use of Rational RulesComposer, an utility provided along with Rational Rhapsody which helps you to create customizable code generation rules. This would make the generated code independent of the OXF dependency
Method 4: Using Post Processing Scripts
Usage of Post Processing script to remove unwanted generated code (like comments, dead code)
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21424940