Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP - Mobile Tools for Java (MTJ) » Preprocess BlackBerry Code
Preprocess BlackBerry Code [message #576514] Tue, 25 August 2009 17:35
Eclipse UserFriend
Originally posted by: wawa321.gmx.net

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
Previous Topic:Per configuration resource files sets
Next Topic:CLDC 1.1 not recognized
Goto Forum:
  


Current Time: Sun May 12 14:02:21 GMT 2024

Powered by FUDForum. Page generated in 0.03106 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top