blob: aecfc3fc1a68354e9d8929cf9b80d456525ce768 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Standard Web Project Properties Dialog Box: Packaging</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>
<body>
<p><a id="CHDJHHHF" name="CHDJHHHF"></a><a id="org.netbeans.modules.web.project.ui.customizer.CustomizerWar" name="org.netbeans.modules.web.project.ui.customizer.CustomizerWar"></a></p>
<div id="NBCSH4012"><!-- infolevel="all" infotype="General" -->
<h1>Standard Web Project Properties Dialog Box: Packaging</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>Use to specify the JAR files, folders, libraries, and projects that are part of your project but that are excluded from the classpath. For example, a library of applets or a folder of images can be included in the project in this page. You can also set up the filter for which files are excluded from the WAR file.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG372">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t38">Element</th>
<th align="left" valign="bottom" id="r1c2-t38">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t38" headers="r1c1-t38">
<p>WAR File</p>
</td>
<td align="left" headers="r2c1-t38 r1c2-t38">Enter the name of the WAR file.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t38" headers="r1c1-t38">
<p>Exclude From WAR File</p>
</td>
<td align="left" headers="r3c1-t38 r1c2-t38">Specify files that you want to exclude from the packaged WAR file.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t38" headers="r1c1-t38">
<p>Compress WAR File</p>
</td>
<td align="left" headers="r4c1-t38 r1c2-t38">
<p>Leave deselected if you want to package the WAR file without compression.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t38" headers="r1c1-t38">WAR Content</td>
<td align="left" headers="r5c1-t38 r1c2-t38">Lists the JAR files, folders, libraries, and projects that are part of your project but that are excluded from the classpath.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG384">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t38" headers="r1c1-t38">
<p>Add Project</p>
</td>
<td align="left" headers="r6c1-t38 r1c2-t38">Click to add an IDE project.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t38" headers="r1c1-t38">
<p>Add Library</p>
</td>
<td align="left" headers="r7c1-t38 r1c2-t38">Click to add a collection of binary files, source files, and Javadoc files.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t38" headers="r1c1-t38">
<p>Add File/Folder</p>
</td>
<td align="left" headers="r8c1-t38 r1c2-t38">Click to add a JAR file or a folder on your system.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p><b>Notes:</b></p>
<ul>
<li>To include an item in the classpath, use the Libraries page.</li>
<li>To disable building of WAR files for a project, open <code dir="ltr">build.xml</code>, override the <code dir="ltr">do-dist</code> target and remove all the dependencies from the target, like so: <code dir="ltr">&lt;target name="do-dist" /&gt;</code></li>
<li>By default, the projects required by the current project are built when the current project is built. Required projects are projects on the classpath, which is defined in the Libraries page, as well as projects defined in the Packaging page. Deselect the Build Required Projects checkbox in the Libraries page if you do not want the required projects to be built when the current project is built.</li>
</ul>
<a id="NBCSH4020" name="NBCSH4020"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1111">
<param name="text" value="<html><u>&quot;Configuring a Web Application&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<!-- -->
<!-- Start Footer -->
<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>