Apache Lucene open-source search software
fixed build file to work with pre Ant 1.5. Relocated to contributions area.
Erik Hatcher03cb5af2b35f
diff --git a/sandbox/projects/ant/lib/Tidy.jar b/sandbox/contributions/ant/lib/Tidy.jarsimilarity index 100%rename from sandbox/projects/ant/lib/Tidy.jarrename to sandbox/contributions/ant/lib/Tidy.jardiff --git a/sandbox/projects/ant/src/main/org/apache/lucene/ant/DocumentHandler.java b/sandbox/contributions/ant/src/main/org/apache/lucene/ant/DocumentHandler.javasimilarity index 100%rename from sandbox/projects/ant/src/main/org/apache/lucene/ant/DocumentHandler.javarename to sandbox/contributions/ant/src/main/org/apache/lucene/ant/DocumentHandler.javadiff --git a/sandbox/projects/ant/src/main/org/apache/lucene/ant/DocumentHandlerException.java b/sandbox/contributions/ant/src/main/org/apache/lucene/ant/DocumentHandlerException.javasimilarity index 100%rename from sandbox/projects/ant/src/main/org/apache/lucene/ant/DocumentHandlerException.javarename to sandbox/contributions/ant/src/main/org/apache/lucene/ant/DocumentHandlerException.javadiff --git a/sandbox/projects/ant/src/main/org/apache/lucene/ant/FileExtensionDocumentHandler.java b/sandbox/contributions/ant/src/main/org/apache/lucene/ant/FileExtensionDocumentHandler.javasimilarity index 100%rename from sandbox/projects/ant/src/main/org/apache/lucene/ant/FileExtensionDocumentHandler.javarename to sandbox/contributions/ant/src/main/org/apache/lucene/ant/FileExtensionDocumentHandler.javadiff --git a/sandbox/projects/ant/src/main/org/apache/lucene/ant/HtmlDocument.java b/sandbox/contributions/ant/src/main/org/apache/lucene/ant/HtmlDocument.javasimilarity index 100%rename from sandbox/projects/ant/src/main/org/apache/lucene/ant/HtmlDocument.javarename to sandbox/contributions/ant/src/main/org/apache/lucene/ant/HtmlDocument.javadiff --git a/sandbox/projects/ant/src/main/org/apache/lucene/ant/IndexTask.java b/sandbox/contributions/ant/src/main/org/apache/lucene/ant/IndexTask.javasimilarity index 100%rename from sandbox/projects/ant/src/main/org/apache/lucene/ant/IndexTask.javarename to sandbox/contributions/ant/src/main/org/apache/lucene/ant/IndexTask.javadiff --git a/sandbox/projects/ant/src/main/org/apache/lucene/ant/TextDocument.java b/sandbox/contributions/ant/src/main/org/apache/lucene/ant/TextDocument.javasimilarity index 100%rename from sandbox/projects/ant/src/main/org/apache/lucene/ant/TextDocument.javarename to sandbox/contributions/ant/src/main/org/apache/lucene/ant/TextDocument.javadiff --git a/sandbox/projects/ant/src/test/org/apache/lucene/ant/DocumentTestCase.java b/sandbox/contributions/ant/src/test/org/apache/lucene/ant/DocumentTestCase.javasimilarity index 100%rename from sandbox/projects/ant/src/test/org/apache/lucene/ant/DocumentTestCase.javarename to sandbox/contributions/ant/src/test/org/apache/lucene/ant/DocumentTestCase.javadiff --git a/sandbox/projects/ant/src/test/org/apache/lucene/ant/HtmlDocumentTest.java b/sandbox/contributions/ant/src/test/org/apache/lucene/ant/HtmlDocumentTest.javasimilarity index 100%rename from sandbox/projects/ant/src/test/org/apache/lucene/ant/HtmlDocumentTest.javarename to sandbox/contributions/ant/src/test/org/apache/lucene/ant/HtmlDocumentTest.javadiff --git a/sandbox/projects/ant/src/test/org/apache/lucene/ant/IndexTaskTest.java b/sandbox/contributions/ant/src/test/org/apache/lucene/ant/IndexTaskTest.javasimilarity index 100%rename from sandbox/projects/ant/src/test/org/apache/lucene/ant/IndexTaskTest.javarename to sandbox/contributions/ant/src/test/org/apache/lucene/ant/IndexTaskTest.javadiff --git a/sandbox/projects/ant/src/test/org/apache/lucene/ant/TextDocumentTest.java b/sandbox/contributions/ant/src/test/org/apache/lucene/ant/TextDocumentTest.javasimilarity index 100%rename from sandbox/projects/ant/src/test/org/apache/lucene/ant/TextDocumentTest.javarename to sandbox/contributions/ant/src/test/org/apache/lucene/ant/TextDocumentTest.javadiff --git a/sandbox/projects/ant/src/test/org/apache/lucene/ant/test.html b/sandbox/contributions/ant/src/test/org/apache/lucene/ant/test.htmlsimilarity index 100%rename from sandbox/projects/ant/src/test/org/apache/lucene/ant/test.htmlrename to sandbox/contributions/ant/src/test/org/apache/lucene/ant/test.htmldiff --git a/sandbox/projects/ant/src/test/org/apache/lucene/ant/test.txt b/sandbox/contributions/ant/src/test/org/apache/lucene/ant/test.txtsimilarity index 100%rename from sandbox/projects/ant/src/test/org/apache/lucene/ant/test.txtrename to sandbox/contributions/ant/src/test/org/apache/lucene/ant/test.txtdiff --git a/sandbox/projects/ant/build.xml b/sandbox/projects/ant/build.xmldeleted file mode 100644index 8e717602d28..00000000000--- a/sandbox/projects/ant/build.xml+++ /dev/null@@ -1,121 +0,0 @@-<?xml version="1.0"?>--<project name="lucene-ant" default="default">-- <description>- Lucene Ant integration- </description>-- <property name="build.dir" location="build"/>- <property name="build.classes.dir" location="${build.dir}/classes"/>- <property name="test.dir" location="${build.dir}/test"/>- <property name="test.classes.dir" location="${test.dir}/classes"/>- <property name="dist.dir" location="dist"/>- <property name="lucene-ant.jar" location="${dist.dir}/lucene-ant.jar"/>-- <property name="jtidy.jar" location="lib/Tidy.jar"/>- <property name="junit.jar" location="${ant.home}/lib/junit.jar"/>- <property name="lucene.bin.dir" location="../../../jakarta-lucene/bin"/>-- <property name="build.debug" value="true"/>- <property name="junit.fork" value="true"/>-- <!-- ========================================================== -->- <!-- Datatype declarations -->- <!-- ========================================================== -->- <path id="compile.classpath">- <fileset dir="${lucene.bin.dir}" includes="lucene*.jar"/>- <pathelement location="${jtidy.jar}"/>- </path>-- <path id="test.classpath">- <path refid="compile.classpath"/>- <pathelement location="${junit.jar}"/>- <pathelement location="${build.classes.dir}"/>- <pathelement location="${test.classes.dir}"/>- </path>--- <target name="default" depends="test,dist"- description="build everything"- />-- <target name="init">- <echo message="Building ${ant.project.name}"/>- <tstamp/>-- <mkdir dir="${build.dir}"/>- <mkdir dir="${build.classes.dir}"/>- <mkdir dir="${dist.dir}"/>-- <mkdir dir="${test.dir}"/>- <mkdir dir="${test.classes.dir}"/>- </target>-- <target name="clean"- description="Deletes all previous build artifacts">- <delete dir="${build.dir}"/>- <delete dir="${build.classes.dir}"/>- <delete dir="${dist.dir}"/>-- <delete dir="${test.dir}"/>- <delete dir="${test.classes.dir}"/>- </target>-- <target name="dist" depends="compile"- description="Create JAR">- <echo file="${build.classes.dir}/taskdef.properties">- index=org.apache.lucene.ant.IndexTask- </echo>- <jar destfile="${lucene-ant.jar}"- basedir="${build.classes.dir}"- />- </target>-- <target name="compile" depends="init">- <javac destdir="${build.classes.dir}"- debug="${build.debug}"- includeAntRuntime="yes"- srcdir="src/main"- classpathref="compile.classpath"- />- </target>-- <target name="test-compile" depends="compile">- <javac destdir="${test.classes.dir}"- debug="${build.debug}"- includeAntRuntime="yes"- srcdir="src/test"- classpathref="test.classpath"- />-- <copy todir="${test.classes.dir}">- <fileset dir="src/test" excludes="**/*.java"/>- </copy>- </target>-- <target name="test" depends="test-compile">- <junit printsummary="no"- errorProperty="test.failed"- failureProperty="test.failed"- fork="${junit.fork}">- <classpath refid="test.classpath"/>- <sysproperty key="docs.dir" file="${test.classes.dir}"/>- <sysproperty key="index.dir" file="${test.dir}/index"/>- <formatter type="brief" usefile="false"/>- <test name="${testcase}" if="testcase"/>- <batchtest todir="${test.data.dir}" unless="testcase">- <fileset dir="${test.classes.dir}"- includes="**/*Test.class"- />- </batchtest>- </junit>-- <fail if="test.failed">- Unit tests failed. Check log or reports for details- </fail>-- </target>---</project>