Download Java ME SDK Help - Oracle Documentation
Transcript
DECEMBER 2009
JAVA ME SDK HELP
Properties. Configures custom properties to pass to an Ant script each time you call
Ant. Click Manage Properties to edit the properties in the property editor. This
property is similar to the Ant command-line option, -Dkey=value. The following
default properties are available:
${build.compiler.emacs}. Setting this property to true enables Emacs-compatible
error messages.
Compiling
To view this property page, right-click on a project and choose Properties. In the
Properties window Build category, choose Compiling.
This page enables you to set the following options:
Generate Debugging Info. If checked, the compiler 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).
Compile with Optimization. If checked, the compiled application is optimized for
execution. This is the -O option in javac. Optimizing can slow down compilation,
produce larger class files, and make the program difficult to debug.
Report Uses of Deprecated APIs. If checked, the compiler 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.
Encoding. Overrides default encoding used by preprocessor and compiler. The
default value is the default encoding used by your VM.
Adding Libraries and Resources
To view this property page, right-click on a project and choose Properties. In the
Properties window Build category, choose Libraries and Resources.
This page allows you to add a dependent project, libraries, and other supporting files
to the current project.
Add Project. The JAR file produced by another project, as well as the associated
source files and Javadoc documentation. Adding this item to a classpath sets up a
dependency between the current project and the selected JAR file.
Viewing and Editing Project Properties
51