mirror of https://github.com/apache/lucene.git
made build.xml accept db.version property argument
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@355282 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e6400c63f0
commit
f962bd4dae
|
@ -5,25 +5,27 @@
|
||||||
Lucene DB integration
|
Lucene DB integration
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<path id="db-4.3.29">
|
<property name="db.version" value="4.3.29"/>
|
||||||
<pathelement location="lib/db-4.3.29.jar"/>
|
|
||||||
|
<path id="db.jar">
|
||||||
|
<pathelement location="lib/db-${db.version}.jar"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<available classname="com.sleepycat.db.internal.Db" property="db.jar.exists">
|
<available classname="com.sleepycat.db.internal.Db" property="db.jar.exists">
|
||||||
<classpath refid="db-4.3.29"/>
|
<classpath refid="db.jar"/>
|
||||||
</available>
|
</available>
|
||||||
|
|
||||||
<pathconvert property="project.classpath"
|
<pathconvert property="project.classpath"
|
||||||
targetos="unix"
|
targetos="unix"
|
||||||
refid="db-4.3.29"
|
refid="db.jar"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<import file="../contrib-build.xml"/>
|
<import file="../contrib-build.xml"/>
|
||||||
|
|
||||||
<target name="get-db-jar" unless="db.jar.exists">
|
<target name="get-db-jar" unless="db.jar.exists">
|
||||||
<mkdir dir="lib"/>
|
<mkdir dir="lib"/>
|
||||||
<get src="http://downloads.osafoundation.org/db/db-4.3.29.jar"
|
<get src="http://downloads.osafoundation.org/db/db-${db.version}.jar"
|
||||||
dest="lib/db-4.3.29.jar"
|
dest="lib/db-${db.version}.jar"
|
||||||
/>
|
/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue