Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Less: Unresolved compilation problem in 1.0.2 #24

Closed
schmeedy opened this issue Apr 11, 2012 · 1 comment
Closed

Less: Unresolved compilation problem in 1.0.2 #24

schmeedy opened this issue Apr 11, 2012 · 1 comment
Milestone

Comments

@schmeedy
Copy link

I've installed 1.0.2 from the update site. When I tried to open a less file after installation, I got bunch of uncaught event loop exceptions and the editor did not initialize.

I was able to trace the cause of my problems to the net.vtst.ow.eclipse.less plugin which has unresolved compilation errors. Specifically, there are three implementations of interface methods annotated with an Override annotation (a feature introduced in Java 6, only class method overrides can be annotated in the Java 5). These are:

  • LessResourceDescriptionStrategy.createEObjectDescriptions
  • LessResourceDescriptionStrategy.createReferenceDescriptions
  • an annonymous inner class in LessImportStatementResolver

I've been able to recompile the plugin from sources (after switching project JDK compliance to 1.5 and removing the Override annotations) and this solved the problem. The other possible solution would be to configure Eclipse build to use 1.6 compiler when exporting the plugins - I can imagine some magic switch exists for build.properties, but I don't know for sure.

@vtst
Copy link
Owner

vtst commented Apr 11, 2012

Hello,

Thanks a lot for the very detailed bug report. I think you said everything :)
I just released a version 1.0.3 which is fixing this annoying problem. I changed my compilation settings so that it should not happen again.

Best,

-- Vincent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants