blob: 8fcec30301b4182565f3d811be795d86bbb14779 [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, 2006 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, 2006" />
<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="Setting Web project properties" />
<meta content="Web projects, properties settings" name="DC.subject" />
<meta content="Web projects, properties settings" name="keywords" />
<meta content="XHTML" name="DC.Format" />
<meta content="twprjset" 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>Setting Web project properties</title>
</head>
<body id="twprjset"><a name="twprjset"><!-- --></a>
<h1 class="topictitle1">Setting Web project properties</h1>
<div>
<div class="section"> <p>There are many Web project properties that you can set that affect
the phases in the lifecycle of your project and its dependencies on other
Web resources and Web development processes. You might want to verify or update
these properties after you have updated an existing project or have imported
Web resources into a project .</p>
<p>To view or set Web project properties,
do the following: </p>
</div>
<ol>
<li class="stepexpand"><span>Right-click on a Web Project, and from the pop-up menu select <span><span class="uicontrol">Properties</span></span>.</span>
</li>
<li class="stepexpand"><span>Select a property type in the left pane of the Properties dialog
to view or update properties in the Web project. For each property, you can
apply changes and modify default settings. Based on whether you have a static
or a dynamic Web project, the following property types are available:</span>
<dl>
<dt class="dlterm">Info</dt>
<dd>Provides general information about project type, location, and modification
status. </dd>
<dt class="dlterm">BeanInfo Path (Dynamic Web project only)</dt>
<dd>If you select the Enable Beaninfo Introspection on this project, you can
specify the contents and order of Java™ Bean search paths to provide Bean information
relevant to the project. You can add, remove, and reorder (using the <span>Up</span> and <span>Down</span> buttons)
the packages used to include Bean information.</dd>
<dt class="dlterm">Builders</dt>
<dd>Add, remove, or reorder external tools in the build order. When you select <span class="uicontrol">New</span> to
create a new external tool to the list, the New External Tool wizard opens,
so that you can define the new build tool.</dd>
<dt class="dlterm">J2EE (Dynamic Web project only)</dt>
<dd>Identify Web level specification and modify context root and Web content
folder name</dd>
<dt class="dlterm">Java Build
Path (Dynamic Web project only)</dt>
<dd>View or change the information about the Java build path that you supplied when creating
the project using the <span>Create a DynamicWeb Project</span> wizard. Whenever
the Web project is rebuilt, any class files that are created or updated will
be output to the specified output folder. <div class="note"><span class="notetitle">Note:</span> A library entry on the Java build
path will remain there unless the actual JAR file is deleted from the WEB-INF/lib
folder. If you remove a library path entry but not the JAR file, the library
entry will be re-added to the path automatically.</div>
</dd>
<dt class="dlterm">Java Compiler
(Dynamic Web project only)</dt>
<dd>Define whether to use workspace settings or project setting for compiling Java code,
including settings for Problems, Style, Compliance and Classfiles, and Build
Path.</dd>
<dt class="dlterm">Javadoc Location (Dynamic Web project only)</dt>
<dd>Define a default location (URL) for any Javadoc available to the project.</dd>
<dt class="dlterm">Java JAR
Dependencies (Dynamic Web project only)</dt>
<dd>Define and reorder JAR dependencies for the project. Note that these dependencies
may differ based on a Web project's association with multiple Enterprise application
projects.</dd>
<dt class="dlterm">JSP Task Tags</dt>
<dd>Add, edit, or remove JSP task tags and assign tag priorities. These "to
do" items appear in your Tasks view.</dd>
<dt class="dlterm">JSP Compilation</dt>
<dd>Specify when in the build process a JSP should be set to compile</dd>
<dt class="dlterm">JSP Fragment (dynamic Web project only)</dt>
<dd>Define default encoding, page directive, and content type values for JSP
fragment documents in the web project.</dd>
<dt class="dlterm">Links Validation/Refactoring</dt>
<dd>Define project-level link management and validation settings. These settings
override corresponding settings in the Workbench Preference settings for the
current project.</dd>
<dt class="dlterm">Project References</dt>
<dd>Reference other Web projects that exist on your workbench workspace.</dd>
<dt class="dlterm">Server</dt>
<dd>Select the server instance used to perform necessary development, test,
and publishing functions for the project.</dd>
<dt class="dlterm">Validation</dt>
<dd>Specify which validators should run for the project, and whether validation
should occur automatically when resource updates are written to the project.
The available validators are based on the types of resources in your project.
By default, validators are automatically run when you save resources in a
Web project. If you do not want validators to run automatically when you save
these resources, enable the <span class="uicontrol">Override validation</span> preferences
option and disable the <span class="uicontrol">Run validation automatically when you save
changes to resources</span> option. <div class="note"><span class="notetitle">Note:</span> You can also disable automatic
validation (and builds) for all projects by disabling <span class="uicontrol">Perform build
automatically on resource modification</span> from the <span class="uicontrol">Workbench</span> properties.
If you disable automatic builds, you can manually run a build (and validation)
by selecting <span class="menucascade"><span class="uicontrol">Project</span> &gt; <span class="uicontrol">Rebuild
project</span></span>.</div>
</dd>
<dt class="dlterm">Web Content Settings</dt>
<dd>Provide any applicable Web content settings for a Web project. You can
specify the document type, CSS profile, and target device.</dd>
<dt class="dlterm">Web Project Features</dt>
<dd>Select the features you want to be enabled for your Web project, such
as Page Template support.</dd>
</dl>
</li>
<li class="stepexpand"><span>When you have completed updates to Web project settings, click <span><span class="uicontrol">OK</span></span> to
save and close the Properties dialog.</span></li>
</ol>
</div>
</body>
</html>