2004-01-13 19:29:45 -05:00
|
|
|
<?xml version="1.0"?>
|
2005-05-02 16:06:00 -04:00
|
|
|
<project name="db" default="default">
|
2004-01-13 19:29:45 -05:00
|
|
|
|
|
|
|
<description>
|
|
|
|
Lucene DB integration
|
|
|
|
</description>
|
|
|
|
|
2005-12-08 18:49:39 -05:00
|
|
|
<property name="db.version" value="4.3.29"/>
|
|
|
|
|
|
|
|
<path id="db.jar">
|
|
|
|
<pathelement location="lib/db-${db.version}.jar"/>
|
2004-01-13 19:29:45 -05:00
|
|
|
</path>
|
|
|
|
|
2005-04-25 20:30:08 -04:00
|
|
|
<available classname="com.sleepycat.db.internal.Db" property="db.jar.exists">
|
2005-12-08 18:49:39 -05:00
|
|
|
<classpath refid="db.jar"/>
|
2005-04-25 20:30:08 -04:00
|
|
|
</available>
|
|
|
|
|
2004-01-13 19:29:45 -05:00
|
|
|
<pathconvert property="project.classpath"
|
|
|
|
targetos="unix"
|
2005-12-08 18:49:39 -05:00
|
|
|
refid="db.jar"
|
2004-01-13 19:29:45 -05:00
|
|
|
/>
|
|
|
|
|
2005-05-01 20:11:11 -04:00
|
|
|
<import file="../contrib-build.xml"/>
|
2005-04-25 20:30:08 -04:00
|
|
|
|
|
|
|
<target name="get-db-jar" unless="db.jar.exists">
|
|
|
|
<mkdir dir="lib"/>
|
2005-12-08 18:49:39 -05:00
|
|
|
<get src="http://downloads.osafoundation.org/db/db-${db.version}.jar"
|
|
|
|
dest="lib/db-${db.version}.jar"
|
2005-04-25 20:30:08 -04:00
|
|
|
/>
|
|
|
|
</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>
|
2004-01-13 19:29:45 -05:00
|
|
|
</project>
|