Skip to content

Apache Lucene open-source search software

Exclude Lucene's own JAR files from classpath entries in Eclipse config (#976)

Uwe Schindlereafc6420f39f
diff --git a/gradle/ide/eclipse.gradle b/gradle/ide/eclipse.gradle
index 4db9ae3ba6c..ffe88eafe3f 100644
--- a/gradle/ide/eclipse.gradle
+++ b/gradle/ide/eclipse.gradle
@@ -63,7 +63,7 @@ configure(rootProject) {
sourceFolder.setExcludes(["module-info.java"])
return sourceFolder
}
- classpath.entries += jars.unique().findAll { location -> location.isFile() }.collect { location ->
+ classpath.entries += jars.unique().findAll { location -> location.isFile() && !(location.name ==~ /lucene-.*\.jar/) }.collect { location ->
new LibEntry(location.toString())
}
}
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index aead9611725..e0b2dda1f86 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -136,6 +136,12 @@ Other
* GITHUB#922: Remove unused and confusing FacetField indexing options (Gautam Worah)
+Build
+---------------------
+
+* GITHUB#976: Exclude Lucene's own JAR files from classpath entries in Eclipse config.
+ (Uwe Schindler)
+
======================= Lucene 9.2.0 =======================
API Changes