lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r924561 - /lucene/solr/branches/newtrunk/build.xml
Date Wed, 17 Mar 2010 23:59:57 GMT
Author: markrmiller
Date: Wed Mar 17 23:59:56 2010
New Revision: 924561

URL: http://svn.apache.org/viewvc?rev=924561&view=rev
Log:
improve lucene-jars-to-solr target

Modified:
    lucene/solr/branches/newtrunk/build.xml

Modified: lucene/solr/branches/newtrunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/solr/branches/newtrunk/build.xml?rev=924561&r1=924560&r2=924561&view=diff
==============================================================================
--- lucene/solr/branches/newtrunk/build.xml (original)
+++ lucene/solr/branches/newtrunk/build.xml Wed Mar 17 23:59:56 2010
@@ -35,15 +35,20 @@
 
   <target name="lucene-jars-to-solr">
     <!-- temp hack - copy lucene jars to solr -->
-    <copy todir="solr/lib" file="lucene/build/lucene-core-${lucene.version}.jar" />
-    <copy todir="solr/lib" file="lucene/build/contrib/analyzers/common/lucene-analyzers-${lucene.version}.jar"
/>
-    <copy todir="solr/lib" file="lucene/build/contrib/fast-vector-highlighter/lucene-fast-vector-highlighter-${lucene.version}.jar"
/>
-    <copy todir="solr/lib" file="lucene/build/contrib/highlighter/lucene-highlighter-${lucene.version}.jar"
/>
-    <copy todir="solr/lib" file="lucene/build/contrib/memory/lucene-memory-${lucene.version}.jar"
/>
-    <copy todir="solr/lib" file="lucene/build/contrib/misc/lucene-misc-${lucene.version}.jar"
/>
-    <copy todir="solr/lib" file="lucene/build/contrib/queries/lucene-queries-${lucene.version}.jar"
/>
-    <copy todir="solr/lib" file="lucene/build/contrib/spatial/lucene-spatial-${lucene.version}.jar"
/>
-    <copy todir="solr/lib" file="lucene/build/contrib/spellchecker/lucene-spellchecker-${lucene.version}.jar"
/>
+
+    <copy todir="solr/lib" preservelastmodified="true" flatten="true" overwrite="true">
+      <resources>
+        <file file="lucene/build/lucene-core-${lucene.version}.jar" />
+        <file file="lucene/build/contrib/analyzers/common/lucene-analyzers-${lucene.version}.jar"
/>
+        <file file="lucene/build/contrib/fast-vector-highlighter/lucene-fast-vector-highlighter-${lucene.version}.jar"
/>
+        <file file="lucene/build/contrib/highlighter/lucene-highlighter-${lucene.version}.jar"
/>
+        <file file="lucene/build/contrib/memory/lucene-memory-${lucene.version}.jar" />
+        <file file="lucene/build/contrib/misc/lucene-misc-${lucene.version}.jar" />
+        <file file="lucene/build/contrib/queries/lucene-queries-${lucene.version}.jar"
/>
+        <file file="lucene/build/contrib/spatial/lucene-spatial-${lucene.version}.jar"
/>
+        <file file="lucene/build/contrib/spellchecker/lucene-spellchecker-${lucene.version}.jar"
/>
+      </resources>
+    </copy>
   </target>
 
   <target name="clean">



Mime
View raw message