You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by ma...@apache.org on 2010/03/17 23:25:11 UTC
svn commit: r924529 - /lucene/solr/branches/newtrunk/build.xml
Author: markrmiller
Date: Wed Mar 17 22:25:11 2010
New Revision: 924529
URL: http://svn.apache.org/viewvc?rev=924529&view=rev
Log:
add a clean target and copy lucene jars to solr after lucene tests are done as a temp work-off-trunk hack
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=924529&r1=924528&r2=924529&view=diff
==============================================================================
--- lucene/solr/branches/newtrunk/build.xml (original)
+++ lucene/solr/branches/newtrunk/build.xml Wed Mar 17 22:25:11 2010
@@ -18,13 +18,41 @@
-->
<project name="lucene-solr" default="test" basedir=".">
-
+ <property name="lucene.version" value="3.1-dev" />
<target name="test">
<sequential>
<subant target="test" inheritall="false" failonerror="true">
- <fileset dir="lucene" includes="build.xml"/>
- <fileset dir="solr" includes="build.xml"/>
+ <fileset dir="lucene" includes="build.xml" />
+ </subant>
+
+ <antcall target="lucene-jars-to-solr" />
+
+ <subant target="test" inheritall="false" failonerror="true">
+ <fileset dir="solr" includes="build.xml" />
</subant>
</sequential>
</target>
+
+ <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" />
+ </target>
+
+ <target name="clean">
+ <sequential>
+ <subant target="clean" inheritall="false" failonerror="true">
+ <fileset dir="lucene" includes="build.xml" />
+ <fileset dir="solr" includes="build.xml" />
+ </subant>
+ </sequential>
+ </target>
+
</project>
\ No newline at end of file