lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject svn commit: r164698 - in /lucene/java/trunk/contrib: analyzers/ db/ db/build.xml
Date Tue, 26 Apr 2005 00:30:09 GMT
Author: ehatcher
Date: Mon Apr 25 17:30:08 2005
New Revision: 164698

URL: http://svn.apache.org/viewcvs?rev=164698&view=rev
Log:
add ignores

Modified:
    lucene/java/trunk/contrib/analyzers/   (props changed)
    lucene/java/trunk/contrib/db/   (props changed)
    lucene/java/trunk/contrib/db/build.xml

Propchange: lucene/java/trunk/contrib/analyzers/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Apr 25 17:30:08 2005
@@ -0,0 +1,2 @@
+build
+dist

Propchange: lucene/java/trunk/contrib/db/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Apr 25 17:30:08 2005
@@ -0,0 +1,2 @@
+build
+dist

Modified: lucene/java/trunk/contrib/db/build.xml
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/db/build.xml?rev=164698&r1=164697&r2=164698&view=diff
==============================================================================
--- lucene/java/trunk/contrib/db/build.xml (original)
+++ lucene/java/trunk/contrib/db/build.xml Mon Apr 25 17:30:08 2005
@@ -6,13 +6,31 @@
   </description>
 
   <path id="additional.dependencies">
-    <pathelement location="lib/db.jar"/>
+    <fileset dir="lib"/>
   </path>
 
+  <available classname="com.sleepycat.db.internal.Db" property="db.jar.exists">
+    <classpath refid="additional.dependencies"/>
+  </available>
+
   <pathconvert property="project.classpath"
                targetos="unix"
                refid="additional.dependencies"
   />
 
   <import file="../common.xml"/>
+
+  <target name="get-db-jar" unless="db.jar.exists">
+    <mkdir dir="lib"/>
+    <get src="http://www.ibiblio.org/maven/berkeleydb/jars/berkeleydb-native-4.2.jar"
+         dest="lib/db.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>



Mime
View raw message