Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Keep jdt from interpreting .java file contents
Keep jdt from interpreting .java file contents [message #253694] Mon, 02 June 2008 14:49 Go to next message
Eclipse UserFriend
Hi,

some time ago I asked on the newcomers list and thought i have solved my
problem. Now I switched to RC3 and the problem reappears:

Inside a Java project, I generate java code that contains bgga closures
- in other words it is full of errors for the standard compiler.

I want to open the generated files, without error markers being added.

I thought that disabling all the project builders would keep eclipse
completely from interpreting the files contents. But I am not familiar
with how the jdt builder and the editor are related..

However, I still get error markers when opening the file with the Java
editor. Even when I open the file with the "text editor" the markers
persist.

Is there anything I can do against? I need to demo the code, and those
errors would be really disturbing...

Thanks for help.
Felix
Re: Keep jdt from interpreting .java file contents [message #253699 is a reply to message #253694] Mon, 02 June 2008 14:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Felix,

Is the .java file in a folder that's considered a source folder on the
build path?


Felix Dorner wrote:
> Hi,
>
> some time ago I asked on the newcomers list and thought i have solved
> my problem. Now I switched to RC3 and the problem reappears:
>
> Inside a Java project, I generate java code that contains bgga
> closures - in other words it is full of errors for the standard compiler.
>
> I want to open the generated files, without error markers being added.
>
> I thought that disabling all the project builders would keep eclipse
> completely from interpreting the files contents. But I am not familiar
> with how the jdt builder and the editor are related..
>
> However, I still get error markers when opening the file with the Java
> editor. Even when I open the file with the "text editor" the markers
> persist.
>
> Is there anything I can do against? I need to demo the code, and those
> errors would be really disturbing...
>
> Thanks for help.
> Felix
Re: Keep jdt from interpreting .java file contents [message #253703 is a reply to message #253699] Mon, 02 June 2008 15:03 Go to previous messageGo to next message
Eclipse UserFriend
Ed Merks wrote:
> Felix,
>
> Is the .java file in a folder that's considered a source folder on the
> build path?

Yes unfortunately. Otherwise I ran into troubles with the Jet
transformation that generates those files.

It turns out that the markers from the text editor were only "cached" or
so, these disappeared now.

Felix
Re: Keep jdt from interpreting .java file contents [message #253873 is a reply to message #253703] Thu, 12 June 2008 06:38 Go to previous message
Eclipse UserFriend
Felix Dorner wrote:
> Ed Merks wrote:
>> Felix,
>>
>> Is the .java file in a folder that's considered a source folder on the
>> build path?
>
> Yes unfortunately. Otherwise I ran into troubles with the Jet
> transformation that generates those files.
>
> It turns out that the markers from the text editor were only "cached" or
> so, these disappeared now.
>
> Felix

You could try excluding them from compilation, by going to build path
properties, and using exclude/include rules on your source entry.
Previous Topic:Extended Refactor->Rename for new file type
Next Topic:Adding to the Refactor menus
Goto Forum:
  


Current Time: Thu Jul 17 19:38:58 EDT 2025

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

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

Back to the top