EclipseWtpPlugin.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Convert EclipseWtpPlugin from Groovy to Java

  1. … 2 more files in changeset.
Improve WTP examples

I saw lots of builds in the wild where users had copy-pasted the following:

apply plugin: 'java'

apply plugin: 'war'

apply plugin: 'eclipse'

apply plugin: 'eclipse-wtp'

Which can be simplified to

apply plugin: 'war'

apply plugin: 'eclipse-wtp'

I tried to make it clearer that these are alternatives.

  1. … 5 more files in changeset.
Use eclipse.wtp.component.libDeployPath to assign wtp deployment path

+review REVIEW-6015

  1. … 4 more files in changeset.
Don't add eclipse.wtp.minusConfigurations to eclipse.classpath.minusConfigurations

+review REVIEW-6015

  1. … 6 more files in changeset.
Back-port wtp classpath attribute calculation to Gradle core

This commit unifies how the Tooling API and the eclipse-wtp plugin defines

deployment classpath attributes for Eclipse project classpath entries.

The commit aims to fix GRADLE-2123, but also introduces a breaking

change because it changes the content of the Eclipse descriptors generated

by the eclipse and eclipse-wtp plugin. For more elaborate explanation check

out https://github.com/gradle/buildship/issues/7.

As a side-effect the Tooling API now considers the manipulations done

in eclipse.project.beforeMerged and eclipse.project.whenMerged closures.

+review REVIEW-6015

  1. … 37 more files in changeset.
EclipseWtpPlugin now @CompileStatic

And more review items for IDE conversion to Java

+review REVIEW-5948

  1. … 2 more files in changeset.
Use convention object properties rather than rely on dynamic properties

  1. … 2 more files in changeset.
get rid of extra defaultFacets method in EclipseWtpFacet

instead fix facet(Closure) method

+review REVIEW-5305

  1. … 2 more files in changeset.
Changed eclipse wtp plugin to mark test dependencies as not required at deployment time.

  1. … 2 more files in changeset.
Some detangling of things in the Eclipse plugins and tooling model builder.

  1. … 3 more files in changeset.
Remove AppliedPlugins and make PluginManager the public replacement for PluginContainer.

+review REVIEW-5298

  1. … 97 more files in changeset.
Add apply(String) and apply(Class) to PluginAware.

+review REVIEW-5298

  1. … 69 more files in changeset.
Merge branch 'eclipse-wtp.default.facets.methods' of github.com:aaschmid/gradle into aaschmid-eclipse-wtp.default.facets.methods

method to add default facets because manually adding facets removes default

  1. … 2 more files in changeset.
bugfix for java project that it can handle pathVariables properly

  1. … 2 more files in changeset.
bugfix for java project that it won't be deleted as all WbDependentModule

  1. … 3 more files in changeset.
GRADLE-2186, GRADLE-2221: "eclipse-wtp" tasks without "war"/"ear" plugin

  1. … 4 more files in changeset.
Merge branch 'eclipse-wtp.default.facets.for.java.projects' of github.com:aaschmid/gradle into aaschmid-eclipse-wtp.default.facets.for.java.projects1

Merge branch 'eclipse-wtp.default.dependencies' of github.com:aaschmid/gradle into aaschmid-eclipse-wtp.default.dependencies1

removed unnecessary changes

Deprecate PluginContainer.apply(Class) and PluginContainer.apply(String)

+review REVIEW-5239

  1. … 101 more files in changeset.
fixed default facets for depended "java" projects * only "fixed" facets are senseless as they have no effect at all * "jst.web" and "jst.utility" are not allowed together * "jst.utility" requires "jst.java"

  1. … 1 more file in changeset.
GRADLE-1422: fixed eclipse default dependencies for eclipse-wtp

Remove @author tags and names from source code.

- Added checkstyle check for @author

- Added not to CONTRIBUTING.md saying that we don't use names in the codebase

  1. … 1213 more files in changeset.
Changed DefaultTaskContainer, DefaultSourceSetContainer and DefaultConfigurationContainer to nag about the use of deprecated add() methods.

  1. … 38 more files in changeset.
Inject Instantiator into IDE and Sonar plugins.

  1. … 13 more files in changeset.
Moved Instantiator and DirectInstantiator from core to baseServices.

  1. … 94 more files in changeset.
GRADLE-1974 eclipse wtp web libs container is always present for 'war' + 'eclipse-wtp' plugin combo.

  1. … 5 more files in changeset.
GRADLE-1412 the dependency attribute on the dependent project libs should also be set for variable-augmented library entries. Added coverage & fix. Fixed minor issue in the eclipse model.

  1. … 3 more files in changeset.
Some cleanup and improvements in the integ test coverage for the wtp stuff. Made sure that the logic applies to all classpath entries it should.

  1. … 1 more file in changeset.