| <!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 Java SE Project Properties Dialog Box: Packaging</title> |
| <link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/> |
| </head> |
| |
| <body> |
| <p><a id="org.netbeans.modules.java.j2seproject.ui.customizer.CustomizerJar" name="org.netbeans.modules.java.j2seproject.ui.customizer.CustomizerJar"></a></p> |
| <div id="NBCSH2123"><!-- infolevel="all" infotype="General" --><a id="sthref289" name="sthref289"></a> |
| <h1>Standard Java SE Project Properties Dialog Box: Packaging</h1> |
| <a name="BEGIN" id="BEGIN"></a> |
| <p>Use to set up the filter for which files are included in the JAR file. |
| <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"> |
| <param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG373"> |
| <param name="text" value="<html><u>How?</u></html>"> |
| <param name="textFontSize" value="medium"> |
| <param name="textColor" value="blue"> |
| </object> |
| </p> |
| |
| <table summary="Descriptions of filtering options for a JAR file in a standard project." dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0"> |
| <col width="42%" /> |
| <col width="*" /> |
| <thead> |
| <tr align="left" valign="top"> |
| <th align="left" valign="bottom" id="r1c1-t18">Element</th> |
| <th align="left" valign="bottom" id="r1c2-t18">Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr align="left" valign="top"> |
| <td align="left" id="r2c1-t18" headers="r1c1-t18"> |
| <p>JAR file</p> |
| </td> |
| <td align="left" headers="r2c1-t18 r1c2-t18">(read only) Shows the location of JAR files for this project (relative to your project location). The default value is <code dir="ltr">your_project_location</code><code dir="ltr">/dist</code>.</td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r3c1-t18" headers="r1c1-t18"> |
| <p>Exclude From JAR File</p> |
| </td> |
| <td align="left" headers="r3c1-t18 r1c2-t18">Specifies the files that should be excluded from the JAR file during the packaging process. |
| <p>By default, this field contains the values <code dir="ltr">**/*.java</code>, <code dir="ltr">**/*.form</code>. For example, to exclude the <code dir="ltr">.properties</code> file from the JAR file, add <code dir="ltr">**/*.properties</code> at the end of the existing value.</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r4c1-t18" headers="r1c1-t18"> |
| <p>Compress JAR File</p> |
| </td> |
| <td align="left" headers="r4c1-t18 r1c2-t18">Compresses the resulting JAR file.</td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r5c1-t18" headers="r1c1-t18"> |
| <p>Build JAR after Compiling</p> |
| </td> |
| <td align="left" headers="r5c1-t18 r1c2-t18">Builds a JAR file from your project sources each time during compilation and places it to the specified location (see the JAR File field). |
| <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"> |
| <param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG389"> |
| <param name="text" value="<html><u>More</u></html>"> |
| <param name="textFontSize" value="medium"> |
| <param name="textColor" value="blue"> |
| </object> |
| |
| <p>If you deselect this checkbox, the Java compiler produces only <code dir="ltr">.class</code> files, without building JAR files for the application.</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r6c1-t18" headers="r1c1-t18"> |
| <p>Copy Dependent Libraries</p> |
| </td> |
| <td align="left" headers="r6c1-t18 r1c2-t18">Copies dependent libraries to a <code dir="ltr">lib</code> directory in the <code dir="ltr">dist</code> and adds the <code dir="ltr">Class-Path</code> attribute to the manifest. |
| <p>Enabled by default in Java and JavaFX applications. Disabled by default in library projects, as it can fill up application server logs.</p> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" id="r7c1-t18" headers="r1c1-t18"> |
| <p>Binary Encode JavaFX CSS Files</p> |
| </td> |
| <td align="left" headers="r7c1-t18 r1c2-t18">(JavaFX projects only) Converts CSS files to binary form to reduce parsing overhead at application runtime. Enabled by default. |
| <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"> |
| <param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG399"> |
| <param name="text" value="<html><u>More</u></html>"> |
| <param name="textFontSize" value="medium"> |
| <param name="textColor" value="blue"> |
| </object> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /> |
| <!-- --> |
| <a id="NBCSH2130" name="NBCSH2130"></a> |
| <hr><p><b>Related Topics</b></p> |
| <p>Developing Applications with NetBeans IDE, |
| <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"> |
| <param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG370"> |
| <param name="text" value="<html><u>"Using Java Project Templates"</u></html>"> |
| <param name="textFontSize" value="medium"> |
| <param name="textColor" value="blue"> |
| </object> |
| </p> |
| <p>Developing Applications with NetBeans IDE, |
| <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"> |
| <param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG455"> |
| <param name="text" value="<html><u>"Sharing Libraries a Library with Other Users"</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> |