You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by to...@apache.org on 2012/03/01 15:45:13 UTC

svn commit: r1295594 - /lucene/dev/trunk/solr/contrib/uima/build.xml

Author: tommaso
Date: Thu Mar  1 14:45:13 2012
New Revision: 1295594

URL: http://svn.apache.org/viewvc?rev=1295594&view=rev
Log:
[SOLR-3013] - fix the build of solr-uima

Modified:
    lucene/dev/trunk/solr/contrib/uima/build.xml

Modified: lucene/dev/trunk/solr/contrib/uima/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/contrib/uima/build.xml?rev=1295594&r1=1295593&r2=1295594&view=diff
==============================================================================
--- lucene/dev/trunk/solr/contrib/uima/build.xml (original)
+++ lucene/dev/trunk/solr/contrib/uima/build.xml Thu Mar  1 14:45:13 2012
@@ -25,5 +25,20 @@
   </description>
 
   <import file="../contrib-build.xml"/>
+  
+  <path id="classpath">
+    <pathelement path="${analyzers-uima.jar}"/>
+    <path refid="solr.base.classpath"/>
+  </path>
+
+  <target name="module-jars-to-solr" depends="jar-analyzers-uima">
+    <mkdir dir="${build.dir}/lucene-libs"/>
+    <copy todir="${build.dir}/lucene-libs" preservelastmodified="true" flatten="true" failonerror="true" overwrite="true">
+      <fileset file="${analyzers-uima.jar}"/>
+    </copy>
+  </target>
+
+  <target name="compile-core" depends="jar-analyzers-uima, solr-contrib-build.compile-core"/>
+  <target name="dist" depends="module-jars-to-solr, common-solr.dist"/>
 
 </project>