Last Updated:

Launching Rhapsody with a Specified INI File

Andy Lapping Tip

Overview

When launched, Rhapsody takes many settings from the rhapsody.ini file in its root folder, such as (for example) the animation port to use and (if you are writing your own helpers) the remote debugging port. 

This can make it difficult to open more than one Rhapsody, particularly in the case of remote debugging as loading any project into that second instance will cause Rhapsody to crash. 

There is however an undocumented command line switch you can use to launch Rhapsody with a specified .ini file. This means you can maintain several copies of your .ini file with different settings and launch Rhapsody with those specific settings.

The switch is:

-iniFile=[path to ini]

An example command line would then be something like:

rhapsody.exe -iniFile=C:/IBM/Rhapsody/rhapsodyWithJavaLogging.ini