Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP - Mobile Tools for Java (MTJ) » Avoid showing errors in editor that are caused because of preprocessing directives
Avoid showing errors in editor that are caused because of preprocessing directives [message #480749] Tue, 18 August 2009 11:57 Go to next message
David Lucena is currently offline David LucenaFriend
Messages: 74
Registered: August 2009
Member
Hi. My name's David. I recently started using MTJ, and as I needed the preprocessor, I developed some code including directives. The build tree shows no errors, and I can launch the Midlet without a problem because no real errors exist when the code is already preprocessed.

The problem arises in code editor windows. Seems that the code there is trying to be compiled in search of correctness before it is preprocessed.

Is there a way to make eclipse editor windows be affected with the preprocessor from MJT so that this kind of "phantom errors" are not shown?

Thank you in advance.

[Updated on: Tue, 18 August 2009 11:57]

Report message to a moderator

Re: Avoid showing errors in editor that are c aused because of preprocessed directives [message #480780 is a reply to message #480749] Tue, 18 August 2009 13:03 Go to previous messageGo to next message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hi David,

Unfortunately due to some JDT constraints it is not possible yet. Please
see thread
( http://dev.eclipse.org/mhonarc/lists/dsdp-mtj-dev/msg01287.h tml).

Best Regards,

David Marques

David Lucena wrote:

> Hi. My name's David. I recently started using MTJ, and as I needed the
preprocessor, I developed some code including directives. The build tree shows
no errors, and I can launch the Midlet without a problem because no real
errors exist when the code is already preprocessed.

> The problem arises in code editor windows. Seems that the code there is
trying to be compiled in search of correctness before it is preprocessed.

> Is there a way to make eclipse editor windows be affected with the
preprocessor from MJT so that this kind of "phantom errors" are not shown?

> Thank you in advance.
Re: Avoid showing errors in editor that are c aused because of preprocessed directives [message #480873 is a reply to message #480780] Tue, 18 August 2009 18:13 Go to previous messageGo to next message
David Lucena is currently offline David LucenaFriend
Messages: 74
Registered: August 2009
Member
With "not possible yet" do you mean that it is not impossible, and eventually someone will kick in to make the changes? Am I correct?

Thanks.

David Marques wrote on Tue, 18 August 2009 09:03
Hi David,

Unfortunately due to some JDT constraints it is not possible yet. Please
see thread
( http://dev.eclipse.org/mhonarc/lists/dsdp-mtj-dev/msg01287.h tml).

Best Regards,

David Marques



Re: Avoid showing errors in editor that a re c aused because of preprocessed directives [message #480885 is a reply to message #480873] Tue, 18 August 2009 18:49 Go to previous message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hello Again David,

Yes, you are right. It is necessary to analyze the problem deeply and
propose a solution to fulfill this requirement to the JDT team.

Best Regards,

David Marques

David Lucena wrote:

> With "not possible yet" do you mean that it is not impossible, and
eventually someone will kick in to make the changes? Am I correct?

> Thanks.

> David Marques wrote on Tue, 18 August 2009 09:03
>> Hi David,
>>
>> Unfortunately due to some JDT constraints it is not possible yet. Please
>> see thread
>> ( http://dev.eclipse.org/mhonarc/lists/dsdp-mtj-dev/msg01287.h tml).
>>
>> Best Regards,
>>
>> David Marques
Re: Avoid showing errors in editor that are c aused because of preprocessed directives [message #575869 is a reply to message #480780] Tue, 18 August 2009 18:13 Go to previous message
David Lucena is currently offline David LucenaFriend
Messages: 74
Registered: August 2009
Member
With "not possible yet" do you mean that it is not impossible, and eventually someone will kick in to make the changes? Am I correct?

Thanks.

David Marques wrote on Tue, 18 August 2009 09:03
> Hi David,
>
> Unfortunately due to some JDT constraints it is not possible yet. Please
> see thread
> ( http://dev.eclipse.org/mhonarc/lists/dsdp-mtj-dev/msg01287.h tml).
>
> Best Regards,
>
> David Marques
Re: Avoid showing errors in editor that a re c aused because of preprocessed directives [message #575888 is a reply to message #480873] Tue, 18 August 2009 18:49 Go to previous message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hello Again David,

Yes, you are right. It is necessary to analyze the problem deeply and
propose a solution to fulfill this requirement to the JDT team.

Best Regards,

David Marques

David Lucena wrote:

> With "not possible yet" do you mean that it is not impossible, and
eventually someone will kick in to make the changes? Am I correct?

> Thanks.

> David Marques wrote on Tue, 18 August 2009 09:03
>> Hi David,
>>
>> Unfortunately due to some JDT constraints it is not possible yet. Please
>> see thread
>> ( http://dev.eclipse.org/mhonarc/lists/dsdp-mtj-dev/msg01287.h tml).
>>
>> Best Regards,
>>
>> David Marques
Previous Topic:Avoid showing errors in editor that are caused because of preprocessed directives
Next Topic:Problems with Motorola device
Goto Forum:
  


Current Time: Fri Mar 29 07:04:58 GMT 2024

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

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

Back to the top