[GRADLE-1133] The "jst.java" facet version should default to java.sourceCompatibility Created: 26/Aug/10  Updated: 04/Jan/13  Resolved: 24/Nov/10

Status: Resolved
Project: Gradle
Affects Version/s: 0.9
Fix Version/s: 0.9-rc-3

Type: Improvement
Reporter: Felix Gnass Assignee: Hans Dockter
Resolution: Fixed Votes: 0


 Description   

The eclipseWtp task creates the file .settings/org.eclipse.wst.common.project.facet.core.xml which looks like this:

<faceted-project>
<fixed facet="jst.java"/>
<fixed facet="jst.web"/>
<installed facet="jst.web" version="2.4"/>
<installed facet="jst.java" version="1.4"/>
</faceted-project>

It would be nice if the version of the "jst.java" facet would default to java.sourceCompatibility.

Workaround:

eclipseWtp.facets.find

{ it.name == 'jst.java' }

.version = 1.5


Generated at Wed Jun 30 11:47:45 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.