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

svn commit: r1307171 - in /lucene/dev/branches/lucene3930/solr/contrib/langid: build.xml lib/

Author: rmuir
Date: Fri Mar 30 00:02:19 2012
New Revision: 1307171

URL: http://svn.apache.org/viewvc?rev=1307171&view=rev
Log:
LUCENE-3930: langid is also a jar thief

Modified:
    lucene/dev/branches/lucene3930/solr/contrib/langid/build.xml
    lucene/dev/branches/lucene3930/solr/contrib/langid/lib/   (props changed)

Modified: lucene/dev/branches/lucene3930/solr/contrib/langid/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3930/solr/contrib/langid/build.xml?rev=1307171&r1=1307170&r2=1307171&view=diff
==============================================================================
--- lucene/dev/branches/lucene3930/solr/contrib/langid/build.xml (original)
+++ lucene/dev/branches/lucene3930/solr/contrib/langid/build.xml Fri Mar 30 00:02:19 2012
@@ -26,8 +26,8 @@
 	<import file="../contrib-build.xml"/>
 
 	<path id="classpath">
-    <fileset dir="../extraction/lib" excludes="*.txt"/>
-    <fileset dir="lib" excludes="*.txt"/>
+    <fileset dir="../extraction/lib" excludes="*.txt,*.template"/>
+    <fileset dir="lib" excludes="*.txt,*.template"/>
     <path refid="solr.base.classpath"/>   
   </path>
 
@@ -40,5 +40,12 @@
                                  jar.file="${solr-langid.dir}/lib/langdetect-r111.jar" />
   </target>
 
-  <target name="compile-core" depends="solr-contrib-build.compile-core"/>
+    <!-- we don't actually need to compile this thing, we just want its libs -->
+  <target name="resolve-extraction-libs">
+    <ant dir="${common-solr.dir}/contrib/extraction" target="resolve" inheritAll="false">
+      <propertyset refid="uptodate.and.compiled.properties"/>
+    </ant>
+  </target>
+
+  <target name="compile-core" depends="resolve-extraction-libs,solr-contrib-build.compile-core"/>
 </project>