| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html lang="en-us" xml:lang="en-us"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| <!-- /******************************************************************************* |
| * Copyright (c) 2000, 2005 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ --> |
| <link rel="stylesheet" type="text/css" href="../../org.eclipse.wtp.doc.user/common.css" /> |
| <title>Disabling a validator</title> |
| </head> |
| <body id="tjvaldisable"><a name="tjvaldisable"><!-- --></a> |
| <h1 class="topictitle1">Disabling a validator</h1> |
| <div><p>You can disable one or more validators for a project.</p> |
| <div class="section"> <p>Errors and warning messages are displayed in the Problems view |
| when validation is run. To disable one or more validators for a project:</p> |
| </div> |
| <ol><li><span>In the Project Explorer view, right-click your project and select <span class="uicontrol">Properties</span>.</span></li> |
| <li><span>On the <span class="uicontrol">Validation</span> page, select the <span class="uicontrol">Override |
| validation preferences</span> check box to override global preferences |
| for this project.</span></li> |
| <li><span>Clear the check box next to the validators that you want to disable.</span></li> |
| <li><span>Click <span class="uicontrol">OK</span>.</span></li> |
| </ol> |
| <div class="section">Only those validators that are selected on the Properties page will |
| run automatically, manually, or during a build.</div> |
| </div> |
| <div> |
| <div class="familylinks"> |
| <div class="parentlink"><strong>Parent topic:</strong> <a href="../topics/tjval.html">Validating code in enterprise applications</a></div> |
| </div> |
| <div class="reltasks"><strong>Related tasks</strong><br /> |
| <div><a href="../topics/tjvalauto.html" title="If you want validation to occur automatically during an automatic incremental build that occurs as a result of a resource change, you can enable automatic code validation.">Enabling automatic code validation</a></div> |
| <div><a href="../topics/tjvalbuild.html" title="You can enable validation to occur during a build of a project.">Enabling build validation</a></div> |
| <div><a href="../topics/tjvalglobalpref.html" title="For a given project, you can override the global validation preferences.">Overriding global validation preferences</a></div> |
| <div><a href="../topics/tjvalmanual.html" title="When you run a manual validation, all resources in the selected project are validated with the validators that are selected on the Validation page of the project Properties dialog.">Manually validating code</a></div> |
| <div><a href="../topics/tjvalselect.html" title="You can select specific validators to run for a project during manual and automatic code validation.">Selecting code validators</a></div> |
| </div> |
| </div></body> |
| </html> |