lucene/contrib/db/build.xml

37 lines
853 B
XML
Raw Normal View History

<?xml version="1.0"?>
<project name="db" default="default">
<description>
Lucene DB integration
</description>
<path id="db-4.3.27">
<pathelement location="lib/db-4.3.27.jar"/>
</path>
<available classname="com.sleepycat.db.internal.Db" property="db.jar.exists">
<classpath refid="db-4.3.27"/>
</available>
<pathconvert property="project.classpath"
targetos="unix"
refid="db-4.3.27"
/>
<import file="../contrib-build.xml"/>
<target name="get-db-jar" unless="db.jar.exists">
<mkdir dir="lib"/>
<get src="http://downloads.osafoundation.org/db/db-4.3.27.jar"
dest="lib/db-4.3.27.jar"
/>
</target>
<target name="check-and-get-db-jar" depends="get-db-jar">
</target>
<target name="init" depends="common.init,check-and-get-db-jar">
</target>
</project>