fixing up test cases that rely on external data and adding build.encoding property

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151003 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2004-08-17 23:44:59 +00:00
parent 1b5eb6c40c
commit 4816ac5b76
1 changed files with 6 additions and 3 deletions

View File

@ -11,7 +11,7 @@
<property name="build.dir" location="build"/>
<property name="build.classes.dir" location="${build.dir}/classes"/>
<property name="build.javadoc" value="${build.dir}/docs/api"/>
<property name="build.encoding" value="ISO-8859-1"/>
<property name="build.encoding" value="utf-8"/>
<property name="release.host" value="www.apache.org"/>
<property name="release.path" value="/www/cvs.apache.org/dist/jakarta/lucene/sandbox/${ant.project.name}"/>
@ -103,6 +103,7 @@
deprecation="true"
srcdir="${src.dir}"
classpathref="compile.classpath"
encoding="${build.encoding}"
/>
<copy todir="${build.classes.dir}">
<fileset dir="${src.dir}" excludes="**/*.java"/>
@ -115,6 +116,7 @@
includeAntRuntime="yes"
srcdir="src/test"
classpathref="test.classpath"
encoding="${build.encoding}"
/>
<copy todir="${test.classes.dir}">
@ -130,6 +132,7 @@
<classpath refid="test.classpath"/>
<sysproperty key="docs.dir" file="${test.classes.dir}"/>
<sysproperty key="index.dir" file="${test.output.dir}/index"/>
<sysproperty key="dataDir" file="${test.src.dir}"/>
<formatter type="brief" usefile="false"/>
<test name="${testcase}" if="testcase"/>
<batchtest todir="${test.data.dir}" unless="testcase">