12-25-2009, 05:42 PM
Join Date: Nov 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Preprocessor is not working
Please Login to Remove!
I am trying to add preprocessors in my BlackBerry application.
I have followed the following steps:
1. Add defines tag with project settings and also tried by manually adding
-define = DEBUG;PREPROCESSOR in .jdp file with "Options".
2. Added //#preprocess as the first statement of the file
3. Added following in one of the function like:
...... statement 1
I could sucessfully compile the the code also could see -define in rapc.exe execution.
But after running both statement 1 and statement 2 is present.
I have also tried with adding
//#implicit DEBUG as a second statement of the file. Still the result is same.
Please let me know how I could run and get the define work properly.
I am using eclipse plugins for blackberry and 4.5 JDE.
And doing testing on simulator.