If you are working with a and want to set more project
options than are available in the Project Properties dialog box, you can edit
the project's Ant script and Ant properties. The Ant targets and properties are
defined in the following files in your project folder:
nbproject/build-impl.xml. The Ant script that contains all
of the instructions for building, running, and debugging the project. You
should never edit this file. You can, however, open it to examine the Ant
targets that are available to be overridden.
build.xml. The main Ant script for the project. The IDE
calls targets in this Ant script whenever you run IDE commands. build.xml
contains a single import statement that imports targets from build-impl.xml.
In build.xml, you can override any of the targets from build-impl.xml
or write new targets.
nbproject/project.properties. The Ant properties file that
contains important information about your project, such as the location of
your source and output folders. You can override the properties in this
file.
nbproject/private/private.properties. The Ant properties
file that contains properties specific to your installation of the IDE. For
example, if you are sharing the project over VCS, any properties you set in
private.properties are not checked into the repository. You can copy
a property from project.properties into private.properties
and give the property different definitions in each file. The definitions
in private.properties take precedence over those in project.properties.
Notes:
In a , there is no build-impl.xml.
The IDE directly calls targets in the project's Ant script.
For NetBeans Plugin Module projects, build-impl.xml imports targets
from the suite.xml in your target plaform's harness folder.