Specify compiler settings for a BlackBerry Application project
- In the Navigator view, select a BlackBerry® application project.
- Right-click the project and select Properties.
- In the Properties for pane, select BlackBerry Project Properties.
- Click the Build tab.
- Change the compiler settings.
- Click Apply.
- Click OK.
Properties for compiler settings
Setting
|
Description
|
Output messages about what the compiler is doing
|
Select this setting to view detailed compiler information when you build a project.
Selecting this setting is the same as setting the -verbose setting for rapc.
If you select this setting, Eclipse® will create many “rapc_XXXX.dir" directories in the %TEMP% directory during compilation.
|
|
Generate no warnings
|
Select this setting to hide compiler warnings when you build a project.
Tip: Warnings do not prevent the project from being built successfully, but they can indicate possible errors in your code.
|
Treat warnings as errors
|
Select this setting to stop compilation if warnings occur.
|
Output source locations where deprecated APIs are used
|
Select this setting to view the location of deprecated APIs in the source files.
|
Don't convert image files to png
|
Select this setting to prevent image files from being converted to .png format. Select this setting if your application needs to access raw image data on the BlackBerry device.
|
No warning for no exported static routine: .main(String[])
|
Select this setting to prevent the compiler from issuing a warning if main() is undefined.
|
Preprocessor defines
|
Add, remove, or edit directives that the preprocessor uses when it processes Java®
files.
|
Alias list
|
Repackage existing API libraries into a new library project. Specify one or more libraries that this project replaces, separated with semi-colons (;).
For example, if you are creating a library project called “newlib” that repackages existing libraries “libA” and “libB”, you can specify libA;libB in this field so that .cod files that use those libraries continue to work correctly.
|
Was this information helpful? Send us your comments.