| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE html | |
| PUBLIC "-//IETF//DTD HTML 4.0//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html><head> | |
| <!-- /******************************************************************************* | |
| * 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 | |
| *******************************************************************************/ --> | |
| <link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css"/> | |
| <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><b>Properties</b></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 <b>New</b> 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 <b>Override validation</b> preferences | |
| option and disable the <b>Run validation automatically when you save | |
| changes to resources</b> option. <div class="note"><span class="notetitle">Note:</span> You can also disable automatic | |
| validation (and builds) for all projects by disabling <b>Perform build | |
| automatically on resource modification</b> from the <b>Workbench</b> properties. | |
| If you disable automatic builds, you can manually run a build (and validation) | |
| by selecting <span class="menucascade"><b>Project</b> > <b>Rebuild | |
| project</b></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><b>OK</b></span> to | |
| save and close the Properties dialog.</span></li> | |
| </ol> | |
| </div> | |
| <div></div> | |
| </body></html> |