Customizing Compilation Options

See Also

You can set the build options in a project configuration by choosing File > "active project name" properties. In the Project Properties dialog, select Build > Compiling.

Click in the associated check box to enable the following options:

You can also set the default encoding used by the preprocessor and compiler in the encoding field. The default value is the default encoding used by your JVM and IDE.

The Debug Block Level drop-down menu sets the debug level for the //#debug and //#mdebug preprocessor directives. If you enter a unique value for the level (for example, debug_graphics), the preprocessor allows only debug blocks that exactly match the debug block (for this example, //#debug debug_graphics). All other debug blocks are commented out.

If you choose a pre-defined level from the drop-down menu, the preprocessor comments out debug blocks on lower levels, as defined by the following hierarchy:

For example, if you choose warn, all info and debug blocks will be commented out.

See Also
Creating MIDP Projects
Working with Project Configurations
Working with Ant

Legal Notices