Validating configuration

About this task

Deployment Descriptor Editor provides validation function. You can validate the configuration for each component tab in order to avoid mistakes. If configuration value does not comply with predefined validation rules, the editor reports them in the problem list. Futhermore, the incorrect configuration is marked with . When you hover your mouse over the error, a tip box is displayed showing the description of the error.

Following is a screen capture:

Screen capture showing configuration validation

BTT provides you default validation rules. By saving the btt.xml, validation rules are applied by default. To see the validation report, open the Problems view. Errors are indicated with a red error next to the resource with the error. Error description, resource, path, location and type are displayed. Double click an error, the source code of the error is located and displayed in the Source tab. You can modify the source code directly.

Note: Every component has its own validation rules. You need to select the correct initializer class file to guarantee that the validation for this component works properly.