2002-07-10 21:12:56 -04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<project name="lucene-ant" default="default">
|
|
|
|
|
|
|
|
<description>
|
|
|
|
Lucene Ant integration
|
|
|
|
</description>
|
|
|
|
|
2004-01-05 02:09:42 -05:00
|
|
|
<path id="additional.dependencies">
|
|
|
|
<!-- TODO: make ${tidy.jar} property -->
|
|
|
|
<pathelement location="lib/Tidy.jar"/>
|
2002-07-10 21:12:56 -04:00
|
|
|
</path>
|
|
|
|
|
2004-01-05 02:09:42 -05:00
|
|
|
<pathconvert property="project.classpath"
|
|
|
|
targetos="unix"
|
|
|
|
refid="additional.dependencies"
|
2002-07-10 21:12:56 -04:00
|
|
|
/>
|
|
|
|
|
2004-01-19 09:58:33 -05:00
|
|
|
<!-- alias classpath for cleaner example in index target -->
|
|
|
|
<path id="index.classpath">
|
|
|
|
<path refid="test.classpath"/>
|
|
|
|
</path>
|
|
|
|
|
2004-01-05 02:09:42 -05:00
|
|
|
<import file="../common.xml"/>
|
2004-01-19 09:58:33 -05:00
|
|
|
|
|
|
|
<property name="index.dir" location="${test.output.dir}/index"/>
|
|
|
|
<property name="files.dir" location="${test.src.dir}"/>
|
|
|
|
|
|
|
|
<target name="index" depends="compile">
|
|
|
|
<taskdef name="index"
|
|
|
|
classname="org.apache.lucene.ant.IndexTask"
|
|
|
|
classpathref="index.classpath"
|
|
|
|
/>
|
|
|
|
<!-- <typedef file="src/main/org/apache/lucene/ant/antlib.xml"
|
|
|
|
uri="lucene:/org/apache/lucene/ant"
|
|
|
|
classpathref="index.classpath"/> -->
|
|
|
|
|
|
|
|
<index index="${index.dir}">
|
|
|
|
<fileset dir="${files.dir}"/>
|
|
|
|
</index>
|
|
|
|
</target>
|
|
|
|
|
2002-07-10 21:12:56 -04:00
|
|
|
</project>
|