# Enterprise Application Client Project Properties Dialog Box: Compiling

Use the Compiling panel to set general compilation options for your project.

Element | Description
--- | ---
Compile on Save | When selected, files are compiled when you save them and additional Compiler Options are not used for running files or the project
Generate Debugging Info | When selected, line number attributes are generated during compilation. This option sets the debug `javac` Ant task to true. This option is selected by default.
Report Uses of Deprecated APIs | If selected, you are notified in the compilation output of any deprecated APIs that the code uses.
Track Java Dependencies | If selected, the IDE makes sure to use the latest version of any project dependencies 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 | Select this check box to enable 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 `-proc:none` option of the compiler.
Enable Annotation Processing in Editor | If the Enable Annotation Processing option is selected, you can enable annotation processing in the IDE Editor. This means that any additional artifacts that are generated by processors (classes, methods, fields, etc.) will be visible through the IDE features, such as code completion, Navigator, GoTo Type, Find usages, and other. Also, the Editor will display any diagnostic messages produced by annotation processors. In addition, completion suggestions for annotation attribute values produced by annotation processors will become available in Java code completion.
Additional Compiler Options | Enter any compiler options in a space-separated list in the Additional Compiler Options text field.

Notes:

- Do not use compiler options such as `-bootclasspath` to cross-compile between Java platforms. Instead, register the target Java platform and set the target JDK for the project.
- To manage the project's classpath, click Libraries in the left panel of the dialog box. To set up file filters for JAR file creation, click Packaging.

Related Topics

Developing Applications with NetBeans IDE,

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