blob: 11cda494eaa822d929e9068f89905e2200ecabc4 [file] [log] [blame]
<?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 content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2008 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" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2008" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="task" name="DC.Type" />
<meta name="DC.Title" content="Overriding global validation preferences" />
<meta name="abstract" content="For a given project, you can override the global validation preferences." />
<meta name="description" content="For a given project, you can override the global validation preferences." />
<meta content="validation, overriding global preferences, code validation" name="DC.subject" />
<meta content="validation, overriding global preferences, code validation" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/tjval.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="tjvalglobalpref" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<title>Overriding global validation preferences</title>
</head>
<body id="tjvalglobalpref"><a name="tjvalglobalpref"><!-- --></a>
<h1 class="id_title">Overriding global validation preferences</h1>
<div class="id_taskbody"><p class="id_shortdesc">For a given project, you can override
the global validation preferences.</p>
<div class="id_context"> <p class="anchor_topictop" />
<p>The
default validation preferences are specified globally on the Validation page
of the Preferences dialog. To allow projects to override these default validation
preferences, complete the following steps:</p>
</div>
<ol class="id_steps">
<li class="stepexpand"><span>Click <span class="menucascade"><span class="uicontrol">Window</span> &gt; <span class="uicontrol">Preferences</span>
</span> and select <span class="uicontrol">Validation</span> in the left pane.</span>
The Validation page of the Preferences window lists the validators
available in your project and their settings.</li>
<li class="stepexpand"><span>Select the <span class="uicontrol">Allow projects to override these preference
settings</span> check box and click <span class="uicontrol">OK</span>.</span>
Now individual projects can override the global preferences.
</li>
<li class="stepexpand"><span>Right-click a project and then click <span class="uicontrol">Properties</span>.</span>
</li>
<li class="stepexpand"><span>In the left pane of the Properties window, click <span class="uicontrol">Validation</span>.</span>
</li>
<li class="stepexpand"><span>Select the <span class="uicontrol">Override validation preferences</span> check
box.</span> This check box is available only if you checked the <span class="uicontrol">Allow
projects to override these preference settings</span> check box on the
workbench validation preferences page.</li>
<li class="stepexpand"><span>To prevent validation for this project, select the <span class="uicontrol">Suspend
all validators</span> check box.</span></li>
<li class="stepexpand"><span>In the list of validators, select the check boxes next to each
validator you want to use.</span> Each validator has a check box to specify
whether it is used on manual validation or on a build.</li>
<li class="stepexpand"><span>Choose an alternate implementation for a validator by clicking
the button in the <span class="uicontrol">Settings</span> column, then click <span class="uicontrol">OK</span>.</span>
Not all validators have alternate implementations.</li>
</ol>
<div class="id_postreq"><p class="anchor_topicbottom" />
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="../topics/tjval.html" title="The workbench includes validators that check certain files in your enterprise application module projects for errors.">Validating code in enterprise applications</a></div>
</div>
</div>
</body>
</html>