IBM Support

Does IBM Rhapsody generate new code for all files when selecting Re Generate

Question & Answer


Question

Does IBM Rhapsody generate new code for all files when selecting Re Generate from Code menu or when using the -cmd=regenerate switch from command line in RhapsodyCL?

Cause

You want all code new generated in order to get updated file date and time, and to be sure that all changes in the model and dependence are generated into the code.

Answer

Using Re Generate does not always regenerate the source files. The model is being regenerated (as is shown in the Output window) but only to temporary files. These files are then compared with their original counterparts and then overwritten if changes have been made. If you want to ensure that the code is completely regenerated each time, then you need to delete the active configuration folder.

Related Information

[{"Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"ARM Category":[{"code":"a8m50000000CjScAAK","label":"Rhapsody->Code"}],"ARM Case Number":"TS004380713","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

ibm16359675