You can enable or disable any invalid properties, references, and exception messages except invalid syntax messages by editing the config.xml file or through Report Environment options. Invalid syntax messages are always enabled.
To enable or disable a warning message by editing the config.xml file, do one of the following
For example, to enable or disable a warning message of the Class Specification report, you need to edit the config.xml file in the ...\plugins\com.nomagic.magicdraw.reportwizard\data\Class Specification Report folder.
Adding tags and values to enable or disable warning messages
The table below lists the warning message types and their tags.
Warning message type | Tag |
---|---|
Invalid property | <template.warn.invalid.property> |
Invalid reference | <template.warn.invalid.reference> |
Invalid method reference | <template.warn.invalid.method> |
Exception | <template.warn.exception> |
To enable or disable a warning message by adding its tags and values in the config.xml file
An example of how to enable an invalid reference warning message of the Class Specification report is shown below.
To enable or disable a warning message through the Report Environment options
Set the value of the following properties in the table under the Configure report properties section to true to enable the warning message or false to disable the warning message.
Property | Description |
template.warn.invalid.property | Enable or disable the invalid property warning message. |
template.warn.invalid.reference | Enable or disable the invalid reference warning message. |
template.warn.invalid.method | Enable or disable the invalid method reference. |
template.warn.exception | Enable or disable the exception message. |
To allow the updates set in the Report Wizard Environment Options dialog to take effect, you must close the UI before running Report command line. |