Use to set general compilation options for your project.
Element | Description |
---|---|
Compile on Save |
Compiles files when you save them. This option saves you time when you run or debug your application in the IDE. |
Generate Debugging Info |
Includes information necessary for stopping at breakpoints and stepping through the application with the debugger in the compiled classes. |
Report Uses of Deprecated APIs |
Notifies you of any deprecated APIs that the code uses in the compilation output. |
Track Java Dependencies |
The latest version of any project dependencies is used by the IDE every time you build or run your project. This full dependency check can make the build process significantly slower for large projects. If you leave this option unchecked, you can still have the full dependency check performed by building your project with the Clean and Build command. |
Enable Annotation Processing |
Enables annotation processing during building your project. If this check box is not selected, compilation proceeds without annotation processing, even if a class path to an annotation processor has been specified on the Libraries tab. This check box corresponds to the |
Enable Annotation Processing in Editor |
Enables annotation processing in the IDE Editor. This means that any additional artifacts that are generated by processors (classes, methods, fields, and such) are visible through the IDE features, such as code completion, Navigator, GoTo Type, Find Usages, and other. Also, the Editor displays any diagnostic messages produced by annotation processors. In addition, completion suggestions for annotation attribute values produced by annotation processors becomes available in Java code completion. |
Annotation Processors |
Enables you to explicitly specify an annotation processor for your project when Add is clicked. In the Add Annotation Processor dialog box, enter a fully qualified name of the annotation processor. This setting corresponds to the To use the annotation processor, you must add it to the classpath or the processor path of your project on the Libraries tab. |
Processor Options |
Enables you to pass additional options to the annotation processor associated with your project. These options are made available for use by individual processors and not interpreted by the compiler. The options are specified in the form |
Additional Compiler Options |
Enables you to enter any additional compiler options that you need in a space-separated list. |
For more information on compiler options, see:
.
Notes:
-bootclasspath
to cross-compile between Java platforms. Instead, register the target Java platform and set the target JDK for the project.Related Topics
Developing Applications with NetBeans IDE,
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |