Create preprocessor directives for a project

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. In the Package Explorer view, right-click a BlackBerry® project and click Properties.
  2. Click BlackBerry Project.
  3. Click Application Descriptor.
  4. Click the Build tab.
  5. In the Preprocessor Directives dialog box, type the preprocessor directives for your project.
  6. On the Eclipse toolbar, click Save.

Was this information helpful? Send us your comments.