You can specify a directory that will be used for storing:
- The
rulemap.xml
file that contains information about rule mapping. The file is created when you modify rule properties with the rule map editor (see Customizing Static Analysis Rules), or can be exported from the DTP Rule Map Editor (see the DTP documentation for details). - custom rules created with Parasoft RuleWizard
To specify the custom directory for custom rules and the rule map:
Click Parasoft in the menu bar and choose Options.
- Select Configurations.
- Enable the User rule map option and provide the path to the directory. The default path is
[INSTALL_DIR]\rules\user.
Backward Compatibility
From version 10.4, the local user rule mapping is only applied to local test configurations (see Viewing Rule Mapping). If DTP-shared rule mapping is configured, it only affects test configurations stored in DTP.
In versions earlier than 10.4:
- any configured rule mapping (local or DTP-shared) applied to both local and DTP configurations,
- if rule customizations were simultaneously available locally and on DTP, the rule mapping information was merged,
- if a particular rule was customized both locally and on DTP, the local mapping had priority over the DTP customization.
To ensure backward compatibility for versions earlier than 10.4, add the rules.mappings=all
setting to the list of advanced settings in your IDE, or to the .properties configuration file; see Customizing Advanced Settings.