Remove Eclipse resource filter for 'build' folder
Commit3eec27a723introduced a custom resource filter for projects imported into Eclipse IDE. However, commit85eb589c2eintroduced generated source files within the Gradle 'build' folder, and the filter prevents Eclipse from seeing the generated sources, resulting in build errors within the spring-oxm project in Eclipse. This commit therefore effectively reverts3eec27a723by removing the resource filter. See gh-25787
This commit is contained in:
parent
21c90829df
commit
4152ebc2f3
|
|
@ -108,21 +108,3 @@ task eclipseBuildship(type: Copy) {
|
|||
tasks["eclipseJdt"].dependsOn(eclipseJdtPrepare)
|
||||
tasks["cleanEclipse"].dependsOn(cleanEclipseJdtUi)
|
||||
tasks["eclipse"].dependsOn(eclipseSettings, eclipseWstComponent)
|
||||
|
||||
|
||||
// Filter 'build' folder
|
||||
eclipse.project.file.withXml {
|
||||
def node = it.asNode()
|
||||
|
||||
def filteredResources = node.get("filteredResources")
|
||||
if(filteredResources) {
|
||||
node.remove(filteredResources)
|
||||
}
|
||||
def filterNode = node.appendNode("filteredResources").appendNode("filter")
|
||||
filterNode.appendNode("id", "1359048889071")
|
||||
filterNode.appendNode("name", "")
|
||||
filterNode.appendNode("type", "30")
|
||||
def matcherNode = filterNode.appendNode("matcher")
|
||||
matcherNode.appendNode("id", "org.eclipse.ui.ide.multiFilter")
|
||||
matcherNode.appendNode("arguments", "1.0-projectRelativePath-matches-false-false-build")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue