lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From va...@apache.org
Subject svn commit: r355282 - /lucene/java/trunk/contrib/db/build.xml
Date Thu, 08 Dec 2005 23:49:42 GMT
Author: vajda
Date: Thu Dec  8 15:49:39 2005
New Revision: 355282

URL: http://svn.apache.org/viewcvs?rev=355282&view=rev
Log:
made build.xml accept db.version property argument

Modified:
    lucene/java/trunk/contrib/db/build.xml

Modified: lucene/java/trunk/contrib/db/build.xml
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/db/build.xml?rev=355282&r1=355281&r2=355282&view=diff
==============================================================================
--- lucene/java/trunk/contrib/db/build.xml (original)
+++ lucene/java/trunk/contrib/db/build.xml Thu Dec  8 15:49:39 2005
@@ -5,25 +5,27 @@
     Lucene DB integration
   </description>
 
-  <path id="db-4.3.29">
-    <pathelement location="lib/db-4.3.29.jar"/>
+  <property name="db.version" value="4.3.29"/>
+
+  <path id="db.jar">
+    <pathelement location="lib/db-${db.version}.jar"/>
   </path>
 
   <available classname="com.sleepycat.db.internal.Db" property="db.jar.exists">
-    <classpath refid="db-4.3.29"/>
+    <classpath refid="db.jar"/>
   </available>
 
   <pathconvert property="project.classpath"
                targetos="unix"
-               refid="db-4.3.29"
+               refid="db.jar"
   />
 
   <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.29.jar"
-         dest="lib/db-4.3.29.jar"
+    <get src="http://downloads.osafoundation.org/db/db-${db.version}.jar"
+         dest="lib/db-${db.version}.jar"
     />
   </target>
 



Mime
View raw message