How to use preprocessor directives in BlackBerry JDE plugin for eclipse?
+3
A:
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.
Fostah
2009-09-08 14:08:44
Once we do this, how do we use the directives in our code? Is it similar to what Antenna provides?
Ram
2009-09-09 05:49:03
Edited to show a link to another question that sheds more light. Hope it helps.
Fostah
2009-09-09 12:03:49