2

How to use preprocessor directives in BlackBerry JDE plugin for eclipse?

Prabhu R
  • 13,836
  • 21
  • 78
  • 112

1 Answers1

4

Within the eclipse config file (%ECLIPSE_HOME%\configuration\config.ini) make sure the following line exists.

osgi.framework.extensions=net.rim.eide.preprocessing.hook

With the current BlackBerry plugin (1.0.0.67) config line is added for you. I'm not sure about older versions of the plugin.

Also, checkout this Stack Overflow question for more information on the BlackBerry preprocessor.

Preprocessor directives supported by the RIM compiler

Community
  • 1
  • 1
Fostah
  • 11,398
  • 10
  • 46
  • 55