merge the backwards changes to trunk (currently unused, but we will need those later)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1204439 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2011-11-21 10:37:21 +00:00
parent 66ab542f2f
commit cc050e725a
1 changed files with 9 additions and 1 deletions

View File

@ -86,8 +86,16 @@
description="Runs tests of a previous Lucene version.">
<sequential>
<mkdir dir="${build.dir.backwards}"/>
<!-- TODO: separate test-framework from core tests (because META-INF duplicates in trunk) -->
<!-- compile branch tests against previous version JAR file -->
<compile-test-macro srcdir="${backwards.dir}/src/test-framework/java" destdir="${build.dir.backwards}/classes/test"
test.classpath="backwards.test.compile.classpath" javac.source="${javac.source.backwards}" javac.target="${javac.target.backwards}"/>
<!-- Copy the resources folder (if existent) -->
<copy todir="${build.dir.backwards}/classes/test">
<fileset dir="${backwards.dir}/src/test-framework/resources" erroronmissingdir="no"/>
</copy>
<compile-test-macro srcdir="${backwards.dir}/src/test" destdir="${build.dir.backwards}/classes/test"
test.classpath="backwards.test.compile.classpath" javac.source="${javac.source.backwards}" javac.target="${javac.target.backwards}"/>