Configuring Miscellaneous Settings
There are some additional things you can configure about how Ant is run.
Verbosity Level
Normally Ant is run at a default verbosity level comfortable for most uses.
If you like, you can set it lower (to suppress undesired informational messages)
or higher (to get more detailed information about what is going on).
Under Tools | Options | Ant Settings | Verbosity Level
you may select a different level. This will affect all invocations of Ant in the IDE.
Save Files
If True (the default), all unsaved files in the IDE will automatically
be saved before running Ant. It is usually wise to leave this on because modifications
to files in the IDE are not recognized by Ant unless they are saved to disk first.
User Properties
Similar to command-line Ant's -Dkey=value option, you can configure
custom user properties to pass to Ant (standard ones such as build.compiler to set
the default Java compiler, properties you use in a special way). Under
Under Tools | Options | Ant Settings | Properties
are properties that will be passed to all invocations of Ant in the IDE by default.
Click the ... button to get an editor for the properties
(same format as *.properties files: one key=value per line).
You may also set additional properties passed only to
specific configurations of Ant-based compilation
and execution. To do that, open Project | Settings, find your desired
executor or compiler type, and modify its Extra Properties property.
The IDE predefines some special properties for you which make it
easy to set up classpaths from the IDE:
- ${netbeans.filesystems.path}
- A classpath corresponding to your mounted Filesystems.
- ${netbeans.library.path}
- A classpath containing libraries used by the IDE itself at runtime
(such as ant.jar).
- ${netbeans.class.path}
- The IDE's startup classpath.
Not recommended for normal use.
- ${netbeans.bootclass.path}
- The IDE's bootstrap classpath (from your JRE).
Not recommended for normal use.
You should not try to change these, they are calculated automatically.