Java ME Embedded Project Properties Dialog Box: Compiling

Use to set compiling options for a project configuration.

Element Description

Generate Debugging Info

Generates line numbers and source files information.

This is the -g option in javac. If unchecked, no debugging information is generated (the -g:none option in javac).

Report Uses of Deprecated APIs

Lists each use or override of a deprecated member or class.

This is the -deprecated option in javac. If unchecked, the compiler shows only the names of source files that use or override deprecated members or classes.

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 -proc:none option of the compiler.

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 –processor option of the compiler.

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 -A[key[=val]]. Click Add and specify the key and its value that are recognized by your annotation processor

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: .


Related Topics

Developing Applications with NetBeans IDE,

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