Manually validating code

When you run a manual validation, all resources in the selected project are validated according to the validation settings.

About this task

The validators that are 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 that are selected to run on manual validation are used when you run a manual validation.

Procedure

  1. Select the project that you want to validate.
  2. 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 that are found by the validators are listed in the Problems view.
Note: The errors that are 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.

What to do next

Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: tjvalmanual.html