|
|
Generate INI File Report |
This helper generates a report of the current Rhapsody INI file.
|
Applicable To |
Project |
|
Menu
Entry |
Power
Pack Reporting Tools Generate INI File Report |
|
Demonstration |
The helper creates a HTML report of the ‘current’ INI file (see below). The report is generated into the user temp directory. Each section in the INI file is presented in the sidebar, allowing easy browsing of the content.

The Possible Entries tab details additional entries that you could add to your INI file to control Rhapsody. These entries are largely undocumented in the IBM documentation.
Entries in the INI are grouped by tabs. Any lines in the INI file that are commented out (by adding a semi-colon at the start) are highlighted in green and entries with no content are highlighted in grey:

Helpers are listed as tabs in a sidebar and grouped into known tools:

After generation the report opens automatically:
· Inside Rhapsody (Rhapsody 10 or above)
· In the system web browser
· Both
Depending on the value of the following property:
RhapsodyPowerPack.ReportingTools.OpenInBrowser
When Rhapsody is launched, by default it uses the rhapsody.ini file located in USER_OMROOT (for a split install) or OMROOT (for an install with all files in one location). However, Rhapsody may be launched from a command line where a specific INI file may be specified as a command line switch. The “current INI file” may be seen in Rhapsody by selecting the menu Help About Rhapsody and then clicking the Version Details button:

There is no Rhapsody API to detect the current INI file, however there is an API to read a specific entry from the current INI file and so the helper detects the INI file on which to report in the following order:
If you have multiple INI files and use the command line to launch Rhapsody with those specific INI files, then you may add the following sections to those INI files:
[RhapsodyPowerPack]
ThisINIFile=C:\IBM\Rhapsody\10.0.1\rhapsody.ini
ThisINIFileDescription=Basic INI file with no debugging or logging options
enabled.
If the ThisINIFile entry exists, then the helper uses that specified file. The description entry is optional but if used this is included in the report:

If no ThisINIFile entry is found in the file, then the helper looks in the USER_OMROOT folder for a rhapsody.ini file and if this is found then it is used for the report.
Lastly the helper looks in the OMROOT folder for a rhapsody.ini file and if this is found then it is used for the report.
If no file is found using any of these approaches, then an error is reported.