Compiler compliance level uses invalid values
Brought to you by:
prantl
When using
<settings>
<jdtcore compilercompliance="5.0" />
<resources encoding="UTF-8" />
</settings>
The org.eclipse.jdt.core.compiler.compliance property in .settings/org.eclipse.jdt.core.prefs is set to 5.0, but it should have been set to 1.5. The same applies to 6.0 versus 1.6. The documentation also says that 1.5 or 1.6 should be used, but the behavior of the eclipse ant task is different.