Eclipse forgets java Compiler compliance level [message #1281179] |
Mon, 31 March 2014 13:29 |
Steve Glasgow Messages: 10 Registered: January 2014 |
Junior Member |
|
|
When initially setting up Eclipse, I set the Compiler compliance level to 1.6 in Window - Preferences - Java - Compiler.
For each project I create, I do NOT enable project specific settings in Project - Properties - Java Compiler. It shows up as 1.6.
Periodically, about twice a week, my WORKING project shows hundreds of errors. Errors that were not there before.
To correct the situation, I go into Project - Properties - Java Compiler, enable project specific settings, change the compliance level to 1.4, click apply, and click yes to the message about rebuilding the project. This, obviously, results in lots of errors.
I then change the level to 1.5, click apply, and click yes to the message about rebuilding the project. This results in significantly fewer errors.
Finally, I change the level to 1.6, apply, and rebuild. This results on NO errors, and everything is good again.
What have I missed? Why is Eclipse doing this to me?
Thank you in advance.
Steve
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03044 seconds