ibm Rational Rhapsody 7.5 — Customizing existing properties

Rational Rhapsody properties PRP files Default properties are assigned in the factory and site default files, factory.prp and site.prp , respectively. These files are located in the $OMROOT\Share\Properties directory and provide a way to tune project properties on an individual or site-wide basis without recompiling Rational Rhapsody. Do not change the factory.prp file to make individual site requirements. Instead, change the site.prp file for an individual site. Settings in the site.prp file will override the settings in the factory.prp file. In this way, you can always return to factory default settings in case of mistakes.

Customizing existing properties You can customize the existing Rational Rhapsody subjects, metaclasses, and/or properties or create new ones. There are many reasons for creating or modifying subjects, metaclasses and/or properties. For example, you might be using an unsupported OS, compiler (configuration), and/or configuration management tool. When creating a new subject, you can keep existing metaclasses and properties intact. For example, the subjects OMUContainers, OMContainers, and STLContainers are all different subjects which contain the same metaclasses and properties. Likewise, when creating a new metaclass, you can keep existing subjects and properties intact.

You can also create new properties under existing subjects and metaclasses. For example, if you were using a testing tool that Rational Rhapsody did not support, you might create new properties under an existing metaclass. You can create new metaclasses and properties using existing Rational Rhapsody properties. For example, to add a new configuration management tool to Rational Rhapsody: 1. In the factory.prp file, locate the CM tool property. 2. To the comma-separated enum values string, add the name of the new CM tool. 3. If you want this tool to be the default CM tool, change the second quoted string from None to the name of the new tool.

When you restart Rational Rhapsody, you will see the name of the new CM tool listed in the drop-down list of the Modify window for the CM tool property. 4. Block and copy the section of code for an existing metaclass. Be sure to include the closing “ end ” for the metaclass block. 5. Rename the new metaclass to the name you specified in Step 2. Rational Rhapsody 187