IBM Support

Customizing the file path for where Rhapsody generates code

Question & Answer


Question

Can I customize the file path per developer?

 

Cause

Every one of our developers has a different path name for their main code location.  I would like for a method for each developer to define a directory that can be used for include or code generation directories.

Answer

This can be done by modifying the rhapsody.ini file for each developers installation and add an environment variable called "MAIN_CODE_ROOT_DIR".  You can then reference that variable within your Rhapsody project.

For example:

rhapsody.ini File:

 

Configuration for code generation in Rhapsody (note the dollar sign)

 

Code Generation:

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

ibm10729589