lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hoss...@apache.org
Subject svn commit: r792724 - in /lucene/solr/trunk/contrib/clustering: build.xml lib/
Date Thu, 09 Jul 2009 21:52:14 GMT
Author: hossman
Date: Thu Jul  9 21:52:13 2009
New Revision: 792724

URL: http://svn.apache.org/viewvc?rev=792724&view=rev
Log:
1) removing some additional lib copying yonik seems to have 
   missed in r791147
2) setting some props on the lib dir so download jars are 
   ignored
3) tweaking clean-downloads so it's less brittle to rev'ing 
   downloads in the future (multiple versions might have
   been left in lib accidently)
   



Modified:
    lucene/solr/trunk/contrib/clustering/build.xml
    lucene/solr/trunk/contrib/clustering/lib/   (props changed)

Modified: lucene/solr/trunk/contrib/clustering/build.xml
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/clustering/build.xml?rev=792724&r1=792723&r2=792724&view=diff
==============================================================================
--- lucene/solr/trunk/contrib/clustering/build.xml (original)
+++ lucene/solr/trunk/contrib/clustering/build.xml Thu Jul  9 21:52:13 2009
@@ -46,10 +46,14 @@
 
   </target>
   <target name="clean-downloads">
-      <delete file="lib/colt-1.2.0.jar"/>
-      <delete file="lib/pcj-1.2.jar"/>
-      <delete file="lib/nni-1.0.0.jar"/>
-      <delete file="lib/simple-xml-1.7.3.jar"/>
+    <delete>
+      <fileset dir="lib">
+        <include name="colt-*.jar"/>
+        <include name="pcj-*.jar"/>
+        <include name="nni-*.jar"/>
+        <include name="simple-xml-*.jar"/>
+      </fileset>
+    </delete>
   </target>
 	
   <target name="init">
@@ -57,7 +61,6 @@
     <mkdir dir="${build.javadoc}" />
     <ant dir="../../" inheritall="false" target="compile" />
     <ant dir="../../" inheritall="false" target="make-manifest" />
-    <mkdir dir="lib/downloads" />
   </target>
 
   <target name="check-files" depends="proxy.setup">
@@ -108,13 +111,7 @@
   </target>
 
   <target name="example" depends="build">
-    <!-- Copy the jar into example/solr/lib -->
-    <copy file="${dest}/${fullnamever}.jar" todir="${example}/clustering/solr/lib"/>
-    <copy todir="${example}/clustering/solr/lib">
-      <fileset dir="lib">
-        <include name="*.jar"/>
-      </fileset>
-    </copy>
+    <!-- NOOP .. example is self contained in this directory -->
   </target>
 
 

Propchange: lucene/solr/trunk/contrib/clustering/lib/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Thu Jul  9 21:52:13 2009
@@ -1 +1,4 @@
-downloads
+pcj-*
+simple-xml-*
+colt-*
+nni-*



Mime
View raw message