ehatcher 2004/08/17 16:44:59 Modified: contributions common.xml Log: fixing up test cases that rely on external data and adding build.encoding property Revision Changes Path 1.7 +6 -3 jakarta-lucene-sandbox/contributions/common.xml Index: common.xml =================================================================== RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/common.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- common.xml 24 Feb 2004 19:08:06 -0000 1.6 +++ common.xml 17 Aug 2004 23:44:59 -0000 1.7 @@ -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}"/> @@ -53,8 +53,8 @@ <!-- ========================================================== --> <!-- TODO: define ${lucene.jar} for easeir overriding --> <path id="compile.classpath"> - <fileset dir="${lucene.dir}" includes="build/lucene*.jar"/> - <pathelement path="${project.classpath}"/> + <fileset dir="${lucene.dir}" includes="build/lucene*.jar"/> + <pathelement path="${project.classpath}"/> </path> <path id="test.classpath"> @@ -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">
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]