Skip to main content



      Home
Home » Newcomers » Newcomers » Use of SJPP (Simple Java Pre-Processor) within Java classes causes Syntax errors in Eclipse 3.2 (but
Use of SJPP (Simple Java Pre-Processor) within Java classes causes Syntax errors in Eclipse 3.2 (but [message #158681] Wed, 28 June 2006 11:28 Go to next message
Eclipse UserFriend
I am trying to use Eclipse 3.2 in order to test some new projects (like
the data tools platform).
Some of our Java classes use SJPP to enable conditional compilation
depending on the encoding. All of those classes fail to compile in
Eclipse 3.2RC7 (I20060602-1317) - but they compile just fine in Eclipse
3.1.2.

Where and how do I report this problem - and how can I resolve it?

Chuck
Re: Use of SJPP (Simple Java Pre-Processor) within Java classes causes Syntax errors in Eclipse 3.2 [message #158726 is a reply to message #158681] Wed, 28 June 2006 13:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nobody.there.127.0.0.1

Charles Doucette wrote:
> Some of our Java classes use SJPP to enable conditional compilation
> depending on the encoding. All of those classes fail to compile in
> Eclipse 3.2RC7 (I20060602-1317) - but they compile just fine in Eclipse
> 3.1.2.
>
> Where and how do I report this problem - and how can I resolve it?

First make sure your compiler settings are the same for both platforms.
(Window -> Preferences -> Java -> Compiler and its sub-items). If you
really do find a code snippet that compiles in Eclipse 3.1.2 and not in
Eclipse 3.2RC7, report it (with the testcase) in Bugzilla:

http://bugs.eclipse.org/bugs

Andrew Jr.

============================================================ ==========
IBM Phoenix Labs (OTI)
2929 North Central Avenue
Phoenix, Arizona, USA 85012
Re: Use of SJPP (Simple Java Pre-Processor) within Java classes causes Syntax errors in Eclipse 3.2 [message #158750 is a reply to message #158726] Wed, 28 June 2006 14:07 Go to previous message
Eclipse UserFriend
Apparently - someone else *just* discovered and reported this bug today:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=149028

Chuck

Andrew Cornwall wrote:
> Charles Doucette wrote:
>> Some of our Java classes use SJPP to enable conditional compilation
>> depending on the encoding. All of those classes fail to compile in
>> Eclipse 3.2RC7 (I20060602-1317) - but they compile just fine in
>> Eclipse 3.1.2.
>>
>> Where and how do I report this problem - and how can I resolve it?
>
> First make sure your compiler settings are the same for both platforms.
> (Window -> Preferences -> Java -> Compiler and its sub-items). If you
> really do find a code snippet that compiles in Eclipse 3.1.2 and not in
> Eclipse 3.2RC7, report it (with the testcase) in Bugzilla:
>
> http://bugs.eclipse.org/bugs
>
> Andrew Jr.
>
> ============================================================ ==========
> IBM Phoenix Labs (OTI)
> 2929 North Central Avenue
> Phoenix, Arizona, USA 85012
Previous Topic:On coworker gets "AssertionFailedError: No tests found" on simple junit runs
Next Topic:Eclipse Crash on Startup startup.jar
Goto Forum:
  


Current Time: Sun Jun 08 16:00:07 EDT 2025

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

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

Back to the top