Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Mobile Tools for Java (MTJ) » Preprocess BlackBerry Code
Preprocess BlackBerry Code [message #482217] Tue, 25 August 2009 13:35 Go to previous message
Eclipse User
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Problem with svn and jmunit exclusions
Next Topic:Errors during source build
Goto Forum:
  


Current Time: Tue May 21 13:17:08 EDT 2013

Powered by FUDForum. Page generated in 0.01991 seconds