[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[News.eclipse.dsdp.mtj] Preprocess BlackBerry Code

Hello,

I have a problem using MTJ in conjunction with the BlackBerry JDE and bb-ant-tools. After spending a lot of time to make the whole system of compilation, debugging, automatic simulator start-up, etc work, I am stuck with an annoying problem, which is probably easy to solve for the MTJ developer team:

In order to signal the BlackBerry JDE rapc compiler that a certain file needs preprocessing, one has to add the line //#preprocess
to the top of the java code file. This works well on the side of bb-ant-tools and BlackBerry JDE. At the same time, I would like to make use of the great features that Eclipse/MTJ provide. Unfortunately, MTJ's preprocessor gets confused about the //#preprocess directive. I get the following error description:


Error parsing line: //#preprocess

Probably, the easiest way to solve this problem would be to let the preprocessor ignore the //#preprocess directive --- or possibly all undefined preprocessor directives. A possible alternative would be to allow the user to configure ignored directives. Even if that were outside the GUI in a config file, it would still solve the problem.

By the way, if you think: 'Research in Motion will release the perfect Eclipse plug-in soon, anyway.' --- I have lost that hope. This little change would provide the last piece of a perfectly usable IDE for BlackBerry developers.

What do you think?

Thanks in advance, wandi