# Standard Web Project Properties Dialog Box: Packaging

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.

Element | Description
--- | ---
WAR File | Enter the name of the WAR file.
Exclude From WAR File | Specify files that you want to exclude from the packaged WAR file.
Compress WAR File | Leave deselected if you want to package the WAR file without compression.
WAR Content | Lists the JAR files, folders, libraries, and projects that are part of your project but that are excluded from the classpath.
Add Project | Click to add an IDE project.
Add Library | Click to add a collection of binary files, source files, and Javadoc files.
Add File/Folder | Click to add a JAR file or a folder on your system.

Notes:

- To include an item in the classpath, use the Libraries page.
- To disable building of WAR files for a project, open `build.xml`, override the `do-dist` target and remove all the dependencies from the target, like so: `<target name="do-dist" />`
- 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.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.