Ability to use the pre-processor to make out MIDP Apps?
Hi, I added configurations to my MIDP project and they worked just fine, but then I came to needing pre-processor stuff (im building out 5 variations of something and want it to be autoated so I dont have to manually edit 1 variable) - this didnt seem to work because when I had :
public static final int MODE=MODE_AGENT_APP;
public static final int MODE=MODE_GIC_AGENTS;
even selecting the profile that has the "ability" ONE wouldnt comment out the code in TWO for me - so I tested with the "non midp" version of the project and they seemed to work. So I went ahead and removed them from MIDP project and put them in the ordinary one which seemed to work, the values with no abilities commented out just fine when I swapped between configs.. Problem is now its not building the MIDP ones (I had to set the normal app as my "main project" rather than my midp one) only the "ordinary" ones which dont run on a phone - so the question is - how do I define configs that can have different abilities and have them work, yet also build out the MIDP versions of my app??
I hope this is clear, and someone can answer fast! :-))