Help Center

Local Navigation

Create preprocessor directives for a workspace

The preprocessor directives that you create are defined for all projects in the workspace.

Before you begin: You must turn on preprocessing in Eclipse® before you can specify preprocessor directives. For more information about how to turn on preprocessing, see the BlackBerry Java Plug-in for Eclipse Installation and Configuration Guide .
  1. On the Window menu, click Preferences.
  2. Expand the BlackBerry Java Plug-in item and click Build.
  3. In the Preprocessor Defines dialog box, add, remove, or edit directives.
  4. Click OK.

Was this information helpful? Send us your comments.