Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-9090: remove ant runtime pollution from tests classpath

Robert Muirf894bd019e25
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index c76dd545168..e077c6b3c8c 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -2549,7 +2549,6 @@ The following arguments can be provided to ant to alter its behaviour and target
<path id="pitest.classpath">
<path refid="junit.classpath"/>
<path refid="pitest.framework.classpath"/>
- <pathelement path="${java.class.path}"/>
</path>
<junit4:pickseed property="pitest.seed" />
diff --git a/lucene/core/build.xml b/lucene/core/build.xml
index d968798488f..4a9ed05333c 100644
--- a/lucene/core/build.xml
+++ b/lucene/core/build.xml
@@ -41,7 +41,6 @@
<path id="junit.classpath">
<path refid="test.classpath"/>
- <pathelement path="${java.class.path}"/>
</path>
<target name="test-core" depends="common.test"/>
diff --git a/lucene/module-build.xml b/lucene/module-build.xml
index e73f0fc7e1b..c0eab1a5b97 100644
--- a/lucene/module-build.xml
+++ b/lucene/module-build.xml
@@ -47,7 +47,6 @@
<path id="junit.classpath">
<pathelement location="${build.dir}/classes/test"/>
<path refid="test.classpath"/>
- <pathelement path="${java.class.path}"/>
</path>
<target name="init" depends="common.init,compile-lucene-core"/>
diff --git a/lucene/test-framework/build.xml b/lucene/test-framework/build.xml
index d09a50ffe15..844c5577179 100644
--- a/lucene/test-framework/build.xml
+++ b/lucene/test-framework/build.xml
@@ -39,7 +39,6 @@
<path id="junit.classpath">
<path refid="test.classpath"/>
- <pathelement path="${java.class.path}"/>
</path>
<!--