You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2022/06/24 17:42:47 UTC
[lucene] branch main updated: Exclude Lucene's own JAR files from classpath entries in Eclipse config (#976)
This is an automated email from the ASF dual-hosted git repository.
uschindler pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/main by this push:
new eafc6420f39 Exclude Lucene's own JAR files from classpath entries in Eclipse config (#976)
eafc6420f39 is described below
commit eafc6420f39fa7d6acfe214a7ef0ccf1cfd90e70
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Fri Jun 24 19:42:42 2022 +0200
Exclude Lucene's own JAR files from classpath entries in Eclipse config (#976)
---
gradle/ide/eclipse.gradle | 2 +-
lucene/CHANGES.txt | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
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