Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-1133

The "jst.java" facet version should default to java.sourceCompatibility

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.9-rc-3

      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

        Attachments

          Activity

            People

            Assignee:
            hans_d Hans Dockter
            Reporter:
            fgnass Felix Gnass
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: