Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 922 Bytes

eclipse-wtp-mapping.md

File metadata and controls

25 lines (15 loc) · 922 Bytes

A proposed change to how Gradle projects are mapped to Eclipse projects to improve how they work with WTP

Jira issues:

  • GRADLE-2123
  • GRADLE-2396

For Java projects:

All .classpath entries should have nondependency attribute attached:

   <attributes>
        <attribute name="org.eclipse.jst.component.nondependency" value=""/>
    </attributes>

The .settings/org.eclipse.wst.common.component file should list only the source directories and no dependencies.

For War and Ear projects:

All .classpath entries should have nondependency attribute attached, as above.

The .settings/org.eclipse.wst.common.component file should list the runtime dependencies of the project (runtime - providedRuntime)

Currently this does not work because WtpComponentFactory delegates to IdeDependenciesExtractor which resolves to a subset of the dependency graph. Instead, the entire graph is required.