When you run a manual validation,
all resources in the selected project are validated according to the
validation settings.
About this task
The
validators used depend on the global and project validation settings.
When you validate a project manually, the global settings are used
unless both of the following are true:
- The Allow projects to override these preference settings check
box is selected on the global validation preferences page.
- The Enable project specific settings check
box is selected on the project's validation preferences page.
Whether the workbench uses the global or project validation
preferences, only the validators selected to run on manual validation
are used when you run a manual validation.
Procedure
- Select the project that you want to validate.
- Right-click the project and then click Validate. If this option is not available, validation is disabled or there
are no validators enabled for the project. To enable validation at
the global level, see Validating
code in enterprise applications. To enable validators for this
project, see Overriding global validation preferences.
Results
The workbench validates the project
using the enabled validators. Any errors found by the validators are
listed in the Problems view.
Note: The errors listed in the validation
results dialog do not necessarily correspond one for one with the
errors listed in the problems view. The validation results display
all of the errors found, whereas duplicate errors appear only once
in the Problems view.