Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] Building JSDT in Eclipse

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 cloned the JSDT repo from git://git.eclipse.org/gitroot/jsdt/webtools.jsdt.git and I am on the master branch (commit 2057970bab23a3e08675f957d9c5ab2b222f389f)

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



Back to the top