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

Incorrect Deployment Assembly with project dependencies

    XMLWordPrintable

    Details

      Description

      When using the eclipse plugin (gradle cleanEclipse eclipse) the generated files aren't correct at least the Deployment Assembly is broken.

      It appears that in the shared projects the files 'org.eclipse.wst.common.component' and 'rg.eclipse.wst.common.project.facet.core.xml' are either missing or incorrectly generated.

      Next to that in the .classpath file of the web project it appears to be creating a wrong classpathentry

      [code]
      <classpathentry exported="true" kind="src" path="/bookstore-shared"/>
      [/code]

      instead of the following.

      [code]
      <classpathentry exported="true" kind="src" path="/bookstore-shared">
      <attributes>
      <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
      </attributes>
      </classpathentry>
      [/code]

      We used Gradle for the sample project for our book (Pro Spring MVC) but although it works flawlessly from the command line using the IDE integration is a bit of a pain (at least the Eclipse integration).

        Attachments

          Activity

            People

            Assignee:
            donat Donát Csikós
            Reporter:
            mdeinum Marten Deinum
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: