I already followed the directions @ Using preprocessor directives in the BlackBerry JDE plugin for eclipse? to make sure the Blackberry plug-in preprocessing hook is (theoretically) enabled.
I am using Eclipse 3.5.1 with the Blackberry 1.1 plugin with BB SDK 4.7.0 and 4.6.0.
I have my preprocessor that defines set (and I tried both in the properties of the BlackBerry Project and in the settings of the BlackBerry Build Workspace), and also carefully checked their capitalization and spelling.
I'm sure the actual code, to say that “this stuff needs to be pre-processed,” is good, because including / excluding pre-processed code seems to work fine on the command line:
//#preprocess --- at the beginning of the file
and then code blocks like this:
//
/*
//
//
import net.rim.device.api.ui.TouchEvent;
//
//
*/
//
So, what I can’t understand is what else could be wrong, which will cause Eclipse not to compile in my pre-processed code if I do not delete the comments, which are supposed to prevent the creation of the code for the assembly in the blackberry, t support the touch.
At one point it worked (and I did not update Eclipse), but over the past couple of weeks it seemed to just stop working. And I'm a little tired of the process of finding ifdefs errors and manually commenting / decoding the touch code and finding the best solution, while I test and start development that requires testing both sensory and non-sensory functions.
Any other ideas on what might be wrong or how to fix it?