Compiler page (Project Properties dialog box)

The Compiler page of the Project Properties dialog box sets compiler options for the current project. The options are applied to all files in the project, as well as to files referenced by these files, stopping at packages which are marked "stable."

To set compiler options for the current project, choose File|Project Properties and click the Compiler tab. You can also right-click the project file in the Navigation pane and choose the Properties command.

To set these options for all new projects, choose Tools|Default Project Properties and click the Compiler tab.

Include Debug Information

Includes symbolic debug information in the .class file when you compile, make, or rebuild a node.

Show Warnings

Displays compiler warning messages.

Show Deprecations

Displays all deprecated classes, methods, properties, events, and variables used in the API. If a warning is displayed when compiling, indicating that some deprecated APIs were used, you can turn this option on to see all deprecated APIs.

Check Stable Packages

Checks files in the packages that are marked "stable" to see whether they and their imported classes need to be recompiled. This option shortens the edit/recompile cycle by not re-checking stable packages.

If this option is off, a given branch of the checking process halts when it reaches a package marked "stable;" it does not look for unstable packages imported by the stable packages. Therefore, with this option, you might need to specify a greater number of modules to compile.

By default, the compiler checks packages marked "stable" as well as packages marked "unstable," to determine whether they and their imported classes need to be recompiled.

Make Packages Stable

If this option is on, the compiler will compile or check all the classes of a package on the first build and mark the package "stable." If this option is off, only the referenced classes of this package will be made, and the package will not be marked "stable."

This option should be off when working with partial projects.

This option is especially useful for working with a library of classes with no source available, when some of the class files are not consistent, but not used.

Obfuscate

Obfuscates your code.

Obfuscation makes your programs less vulnerable to reverse engineering. After decompiling your obfuscated code, the generated source code contains altered symbol names for private symbols.

Exclude Class

Excludes the selected .class file from a compile.

Encoding

Specifies the encoding that controls how the compiler interprets characters beyond the ASCII character set. If no setting is specified, the default native-encoding converter for the platform is used. For more information, see the Specifying a native encoding for the compiler topic in the "Internationalizing with JBuilder" chapter of Building Applications with JBuilder.

Autosave All Files Before Compiling

Automatically saves all files in the project before each compile.

See also:
Building Applications with JBuilder: Setting compiler options