Skip to content

Commit 4152ebc

Browse files
committed
Remove Eclipse resource filter for 'build' folder
Commit 3eec27a introduced a custom resource filter for projects imported into Eclipse IDE. However, commit 85eb589 introduced 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 reverts 3eec27a by removing the resource filter. See gh-25787
1 parent 21c9082 commit 4152ebc

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

gradle/ide.gradle

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -108,21 +108,3 @@ task eclipseBuildship(type: Copy) {
108108
tasks["eclipseJdt"].dependsOn(eclipseJdtPrepare)
109109
tasks["cleanEclipse"].dependsOn(cleanEclipseJdtUi)
110110
tasks["eclipse"].dependsOn(eclipseSettings, eclipseWstComponent)
111-
112-
113-
// Filter 'build' folder
114-
eclipse.project.file.withXml {
115-
def node = it.asNode()
116-
117-
def filteredResources = node.get("filteredResources")
118-
if(filteredResources) {
119-
node.remove(filteredResources)
120-
}
121-
def filterNode = node.appendNode("filteredResources").appendNode("filter")
122-
filterNode.appendNode("id", "1359048889071")
123-
filterNode.appendNode("name", "")
124-
filterNode.appendNode("type", "30")
125-
def matcherNode = filterNode.appendNode("matcher")
126-
matcherNode.appendNode("id", "org.eclipse.ui.ide.multiFilter")
127-
matcherNode.appendNode("arguments", "1.0-projectRelativePath-matches-false-false-build")
128-
}

0 commit comments

Comments
 (0)