Hi,
I would like to contribute to the development of the JSDT in Eclipse, so I cloned the JSDT repo and tried building the plugins. I can build from the command line using Maven, but from Eclipse itself it does not work. My Eclipse installation is the following:
- Eclipse Luna JEE RC2 (from Eclipse download site)
I imported the org.eclipse.wst.jsdt.ui project into the empty eclipse, but I get compile errors:
- Lots of these: Syntax error, 'for each' statements are only available if source level is 1.5 or greater FullConstraintCreator.java /org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/corext/refactoring/typeconstraints line 107
I would not have expected this error since the default JDK compliance level in my workspace is 1.7, but this is how it is currently set up in the eclipse project, as 1.4. Am I using the correct project file? I used this project location: webtools.jsdt\bundles\org.eclipse.wst.jsdt.ui
What am I doing wrong here? Is the plugin only buildable using Maven, or are my settings wrong somewhere?
Thanks in advance!
Pieter