switch default back-compat tests to use branches/lucene_2_4_back_compat_tests

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@721667 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2008-11-29 12:03:26 +00:00
parent f562594180
commit 93f7ed2d58
2 changed files with 4 additions and 4 deletions

View File

@ -106,18 +106,18 @@
</path> </path>
<target name="download-tag" <target name="download-tag"
description="Downloads a previous Lucene version. Specify tag version like this: -Dtag=lucene_2_4_0"> description="Downloads a previous Lucene version. Specify tag version like this: -Dtag=branches/lucene_2_4_back_compat_tests">
<sequential> <sequential>
<mkdir dir="${tags.dir}/${tag}"/> <mkdir dir="${tags.dir}/${tag}"/>
<exec dir="${tags.dir}/${tag}" executable="${svn.exe}" <exec dir="${tags.dir}/${tag}" executable="${svn.exe}"
failifexecutionfails="false"> failifexecutionfails="false">
<arg line="checkout http://svn.apache.org/repos/asf/lucene/java/tags/${tag}/src/test/"/> <arg line="checkout http://svn.apache.org/repos/asf/lucene/java/${tag}/src/test/"/>
</exec> </exec>
</sequential> </sequential>
</target> </target>
<target name="test-tag" depends="download-tag, compile-core, compile-demo" <target name="test-tag" depends="download-tag, compile-core, compile-demo"
description="Runs tests of a previous Lucene version. Specify tag version like this: -Dtag=lucene_2_4_0"> description="Runs tests of a previous Lucene version. Specify tag version like this: -Dtag=branches/lucene_2_4_back_compat_tests">
<sequential> <sequential>
<available property="tag.available" file="${tags.dir}/${tag}/test" /> <available property="tag.available" file="${tags.dir}/${tag}/test" />

View File

@ -41,7 +41,7 @@
<property name="name" value="${ant.project.name}"/> <property name="name" value="${ant.project.name}"/>
<property name="Name" value="Lucene"/> <property name="Name" value="Lucene"/>
<property name="version" value="2.9-dev"/> <property name="version" value="2.9-dev"/>
<property name="compatibility.tag" value="lucene_2_4_0"/> <property name="compatibility.tag" value="branches/lucene_2_4_back_compat_tests"/>
<property name="spec.version" value="${version}"/> <property name="spec.version" value="${version}"/>
<property name="year" value="2000-${current.year}"/> <property name="year" value="2000-${current.year}"/>
<property name="final.name" value="lucene-${name}-${version}"/> <property name="final.name" value="lucene-${name}-${version}"/>