Skip to content

Apache Lucene open-source search software

fix classpath in backwards tests (fixes version bug, but the test is still bogus - i will open issue)

Uwe Schindler236d751d034b
diff --git a/lucene/build.xml b/lucene/build.xml
index d7f4fcfb4ad..ddd12657b92 100644
--- a/lucene/build.xml
+++ b/lucene/build.xml
@@ -75,15 +75,15 @@
<path id="backwards.junit.classpath">
<path refid="junit-path"/>
+ <path refid="classpath"/>
<pathelement location="${build.dir.backwards}/classes/test"/>
- <pathelement location="${build.dir}/${final.name}.jar"/>
<pathelement path="${java.class.path}"/>
</path>
<!-- remove this -->
<target name="test-tag" depends="test-backwards" description="deprecated"/>
- <target name="compile-backwards" depends="compile-core, jar-core"
+ <target name="compile-backwards" depends="compile-core"
description="Runs tests of a previous Lucene version.">
<sequential>
<mkdir dir="${build.dir.backwards}"/>