2007-05-14 11:40:24 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<project name="thdl-concordancer" default="index-for-solr" basedir=".">
|
|
|
|
|
|
|
|
<import file="build.xml"/>
|
|
|
|
|
|
|
|
<property name="lucene-thdl.bin" location="${bin}/lucene-thdl"/>
|
2007-05-15 12:28:43 +00:00
|
|
|
<property name="archive" location="archive"/>
|
|
|
|
<property name="wylie" location="${archive}/wylie"/>
|
|
|
|
<property name="unicode" location="${archive}/unicode"/>
|
|
|
|
<property name="solr" location="${archive}/solr"/>
|
|
|
|
<property name="get.title.metadata" value="http://thdl.org/avarch/mediaflowcat/title_metadata.php"/>
|
|
|
|
<property name="url.to.transcripts" value="http://www.thdl.org/avarch/transcripts"/>
|
|
|
|
<property name="url.to.media.high" value="http://www.thdl.org/media/high"/>
|
|
|
|
<property name="url.to.media.low" value="http://www.thdl.org/media/low"/>
|
|
|
|
<property name="url.to.media.audio" value="http://www.thdl.org/media/audio"/>
|
2007-05-14 11:40:24 +00:00
|
|
|
|
|
|
|
<path id="lucene.classpath">
|
|
|
|
<fileset id="lucene.extensions" dir="${ext}/apache">
|
|
|
|
<include name="*.jar"/>
|
|
|
|
</fileset>
|
|
|
|
</path>
|
|
|
|
|
2007-05-15 12:28:43 +00:00
|
|
|
<!-- archive tasks -->
|
|
|
|
<target name="archive-get-metadata">
|
|
|
|
<mkdir dir="${archive}"/>
|
|
|
|
<get src="${get.title.metadata}" dest="${archive}/title_metadata.xml" verbose="on"/>
|
|
|
|
</target>
|
|
|
|
|
2007-05-14 11:40:24 +00:00
|
|
|
<!-- concordance program -->
|
|
|
|
<target name="lucene-thdl-compile" depends="init">
|
|
|
|
<mkdir dir="${lucene-thdl.bin}"/>
|
|
|
|
<javac srcdir="${source}" destdir="${lucene-thdl.bin}" includes="org/thdl/lucene/**.java" debug="on">
|
|
|
|
<classpath refid="lucene.classpath"/>
|
|
|
|
</javac>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="lucene-thdl-jar" depends="lucene-thdl-compile">
|
|
|
|
<jar destfile="${vanillalib}/lucene-thdl.jar" basedir="${lucene-thdl.bin}/"/>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
</project>
|