manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1806824 - in /manifoldcf/trunk: CHANGES.txt build.xml connectors/gts/build.xml framework/build.xml framework/buildfiles/connector-build.xml pom.xml
Date Thu, 31 Aug 2017 17:06:53 GMT
Author: kwright
Date: Thu Aug 31 17:06:53 2017
New Revision: 1806824

URL: http://svn.apache.org/viewvc?rev=1806824&view=rev
Log:
Tentative fix for CONNECTORS-1450.  Move all poi* jars from connector-common-lib to lib in
the distribution, and change build process accordingly.  Also going to version 3.9 of POI
jars.

Modified:
    manifoldcf/trunk/CHANGES.txt
    manifoldcf/trunk/build.xml
    manifoldcf/trunk/connectors/gts/build.xml
    manifoldcf/trunk/framework/build.xml
    manifoldcf/trunk/framework/buildfiles/connector-build.xml
    manifoldcf/trunk/pom.xml

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1806824&r1=1806823&r2=1806824&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Thu Aug 31 17:06:53 2017
@@ -3,6 +3,12 @@ $Id$
 
 ======================= 2.9-dev =====================
 
+CONNECTORS-1450: Tika extractor cannot process MS Office files due
+to a dependency problem.  The dependency issue is that poi-ooxml-schemas
+is apparently accessed via reflection, and the class lookup does not
+apparently use the current classloader, but rather some other classloader.
+This requires the entire poi* set of jars, and all dependencies, to be
+included in ManifoldCF's core jar list.
 
 ======================= Release 2.8 =====================
 

Modified: manifoldcf/trunk/build.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/build.xml?rev=1806824&r1=1806823&r2=1806824&view=diff
==============================================================================
--- manifoldcf/trunk/build.xml (original)
+++ manifoldcf/trunk/build.xml Thu Aug 31 17:06:53 2017
@@ -56,7 +56,7 @@
     <property name="commons-cli.version" value="1.2"/>
     <property name="slf4j.version" value="1.7.7"/>
     <property name="xalan.version" value="2.7.1"/>
-    <property name="poi.version" value="3.15"/>
+    <property name="poi.version" value="3.9"/>
     <property name="activation.version" value="1.1.1"/>
     <property name="avalon.version" value="4.3.1"/>
     <property name="ecj.version" value="4.3.1"/>

Modified: manifoldcf/trunk/connectors/gts/build.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/gts/build.xml?rev=1806824&r1=1806823&r2=1806824&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/gts/build.xml (original)
+++ manifoldcf/trunk/connectors/gts/build.xml Thu Aug 31 17:06:53 2017
@@ -30,22 +30,6 @@
 
     <import file="${mcf-dist}/connector-build.xml"/>
 
-    <path id="connector-classpath">
-        <path refid="mcf-connector-build.connector-classpath"/>
-        <fileset dir="../../lib">
-            <include name="poi*.jar"/>
-        </fileset>
-    </path>
-    
-    <target name="lib" depends="mcf-connector-build.lib,precompile-check" if="canBuild">
-        <mkdir dir="dist/lib"/>
-        <copy todir="dist/lib">
-            <fileset dir="../../lib">
-                <include name="poi*.jar"/>
-            </fileset>
-        </copy>
-    </target>
-    
     <target name="deliver-connector" depends="mcf-connector-build.deliver-connector">
         <antcall target="general-add-output-connector">
             <param name="connector-label" value="MetaCarta GTS"/>

Modified: manifoldcf/trunk/framework/build.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/build.xml?rev=1806824&r1=1806823&r2=1806824&view=diff
==============================================================================
--- manifoldcf/trunk/framework/build.xml (original)
+++ manifoldcf/trunk/framework/build.xml Thu Aug 31 17:06:53 2017
@@ -46,6 +46,7 @@
             <include name="json-simple*.jar"/>
             <include name="commons-codec*.jar"/>
             <include name="commons-collections-*.jar"/>
+            <include name="commons-collections4-*.jar"/>
             <include name="commons-el*.jar"/>
             <include name="commons-fileupload*.jar"/>
             <include name="httpcore*.jar"/>
@@ -68,6 +69,10 @@
             <include name="xml-apis*.jar"/>
             <include name="velocity*.jar"/>
             <include name="mail*.jar"/>
+            <include name="poi*.jar"/>
+            <include name="dom4j*.jar"/>
+            <include name="xmlbeans*.jar"/>
+            <include name="curvesapi*.jar"/>
             <include name="commons-exec*.jar"/>
             <include name="gson*.jar"/>
             <include name="guava*.jar"/>
@@ -129,7 +134,6 @@
             <include name="quartz*.jar"/>
             <include name="c3p0*.jar"/>
             <include name="tagsoup*.jar"/>
-            <include name="poi*.jar"/>
             <include name="vorbis-java*.jar"/>
             <include name="apache-mime4j-core*.jar"/>
             <include name="apache-mime4j-dom*.jar"/>
@@ -140,9 +144,6 @@
             <include name="bcmail-jdk15on*.jar"/>
             <include name="bcprov-jdk15on*.jar"/>
             <include name="bcpkix-jdk15on*.jar"/>
-            <include name="curvesapi*.jar"/>
-            <include name="xmlbeans*.jar"/>
-            <include name="dom4j*.jar"/>
             <include name="geronimo-stax-api_1.0_spec*.jar"/>
             <include name="asm*.jar"/>
             <include name="isoparser*.jar"/>
@@ -480,6 +481,7 @@
                 <include name="json-simple*.jar"/>
                 <include name="commons-codec*.jar"/>
                 <include name="commons-collections*.jar"/>
+                <include name="commons-collections4*.jar"/>
                 <include name="commons-el*.jar"/>
                 <include name="commons-fileupload*.jar"/>
                 <include name="httpcore*.jar"/>
@@ -494,6 +496,10 @@
                 <include name="xml-apis*.jar"/>
                 <include name="slf4j*.jar"/>
                 <include name="mail*.jar"/>
+                <include name="poi*.jar"/>
+                <include name="dom4j*.jar"/>
+                <include name="xmlbeans*.jar"/>
+                <include name="curvesapi*.jar"/>
                 <include name="commons-exec*.jar"/>
                 <include name="gson*.jar"/>
                 <include name="guava*.jar"/>
@@ -523,6 +529,7 @@
                 <include name="json-simple*.jar"/>
                 <include name="commons-codec*.jar"/>
                 <include name="commons-collections*.jar"/>
+                <include name="commons-collections4*.jar"/>
                 <include name="commons-el*.jar"/>
                 <include name="commons-fileupload*.jar"/>
                 <include name="httpcore*.jar"/>
@@ -537,6 +544,10 @@
                 <include name="xml-apis*.jar"/>
                 <include name="slf4j*.jar"/>
                 <include name="mail*.jar"/>
+                <include name="poi*.jar"/>
+                <include name="dom4j*.jar"/>
+                <include name="xmlbeans*.jar"/>
+                <include name="curvesapi*.jar"/>
                 <include name="commons-exec*.jar"/>
                 <include name="gson*.jar"/>
                 <include name="guava*.jar"/>
@@ -572,6 +583,7 @@
                 <include name="json-simple*.jar"/>
                 <include name="commons-codec*.jar"/>
                 <include name="commons-collections*.jar"/>
+                <include name="commons-collections4*.jar"/>
                 <include name="commons-el*.jar"/>
                 <include name="commons-fileupload*.jar"/>
                 <include name="httpcore*.jar"/>
@@ -586,6 +598,10 @@
                 <include name="xml-apis*.jar"/>
                 <include name="slf4j*.jar"/>
                 <include name="mail*.jar"/>
+                <include name="poi*.jar"/>
+                <include name="dom4j*.jar"/>
+                <include name="xmlbeans*.jar"/>
+                <include name="curvesapi*.jar"/>
                 <include name="commons-exec*.jar"/>
                 <include name="gson*.jar"/>
                 <include name="guava*.jar"/>
@@ -616,6 +632,7 @@
                 <include name="json-simple*.jar"/>
                 <include name="commons-codec*.jar"/>
                 <include name="commons-collections*.jar"/>
+                <include name="commons-collections4*.jar"/>
                 <include name="commons-el*.jar"/>
                 <include name="commons-fileupload*.jar"/>
                 <include name="httpcore*.jar"/>
@@ -630,6 +647,10 @@
                 <include name="xml-apis*.jar"/>
                 <include name="slf4j*.jar"/>
                 <include name="mail*.jar"/>
+                <include name="poi*.jar"/>
+                <include name="dom4j*.jar"/>
+                <include name="xmlbeans*.jar"/>
+                <include name="curvesapi*.jar"/>
                 <include name="commons-exec*.jar"/>
                 <include name="gson*.jar"/>
                 <include name="guava*.jar"/>
@@ -667,6 +688,7 @@
                 <include name="json-simple*.jar"/>
                 <include name="commons-codec*.jar"/>
                 <include name="commons-collections*.jar"/>
+                <include name="commons-collections4*.jar"/>
                 <include name="commons-el*.jar"/>
                 <include name="commons-fileupload*.jar"/>
                 <include name="httpcore*.jar"/>
@@ -682,6 +704,10 @@
                 <include name="velocity*.jar"/>
                 <include name="slf4j*.jar"/>
                 <include name="mail*.jar"/>
+                <include name="poi*.jar"/>
+                <include name="dom4j*.jar"/>
+                <include name="xmlbeans*.jar"/>
+                <include name="curvesapi*.jar"/>
                 <include name="commons-exec*.jar"/>
                 <include name="gson*.jar"/>
                 <include name="guava*.jar"/>
@@ -723,6 +749,7 @@
                 <include name="json-simple*.jar"/>
                 <include name="commons-codec*.jar"/>
                 <include name="commons-collections*.jar"/>
+                <include name="commons-collections4*.jar"/>
                 <include name="commons-el*.jar"/>
                 <include name="commons-fileupload*.jar"/>
                 <include name="httpcore*.jar"/>
@@ -738,6 +765,10 @@
                 <include name="velocity*.jar"/>
                 <include name="slf4j*.jar"/>
                 <include name="mail*.jar"/>
+                <include name="poi*.jar"/>
+                <include name="dom4j*.jar"/>
+                <include name="xmlbeans*.jar"/>
+                <include name="curvesapi*.jar"/>
                 <include name="commons-exec*.jar"/>
                 <include name="gson*.jar"/>
                 <include name="guava*.jar"/>
@@ -783,6 +814,7 @@
                 <include name="json-simple*.jar"/>
                 <include name="commons-codec*.jar"/>
                 <include name="commons-collections*.jar"/>
+                <include name="commons-collections4*.jar"/>
                 <include name="commons-el*.jar"/>
                 <include name="commons-fileupload*.jar"/>
                 <include name="httpcore*.jar"/>
@@ -798,6 +830,10 @@
                 <include name="velocity*.jar"/>
                 <include name="slf4j*.jar"/>
                 <include name="mail*.jar"/>
+                <include name="poi*.jar"/>
+                <include name="dom4j*.jar"/>
+                <include name="xmlbeans*.jar"/>
+                <include name="curvesapi*.jar"/>
                 <include name="commons-exec*.jar"/>
                 <include name="gson*.jar"/>
                 <include name="guava*.jar"/>
@@ -837,6 +873,7 @@
                 <include name="json-simple*.jar"/>
                 <include name="commons-codec*.jar"/>
                 <include name="commons-collections*.jar"/>
+                <include name="commons-collections4*.jar"/>
                 <include name="commons-el*.jar"/>
                 <include name="commons-fileupload*.jar"/>
                 <include name="httpcore*.jar"/>
@@ -852,6 +889,10 @@
                 <include name="velocity*.jar"/>
                 <include name="slf4j*.jar"/>
                 <include name="mail*.jar"/>
+                <include name="poi*.jar"/>
+                <include name="dom4j*.jar"/>
+                <include name="xmlbeans*.jar"/>
+                <include name="curvesapi*.jar"/>
                 <include name="commons-exec*.jar"/>
                 <include name="gson*.jar"/>
                 <include name="guava*.jar"/>
@@ -960,6 +1001,7 @@
                 <include name="json-simple*.jar"/>
                 <include name="commons-codec*.jar"/>
                 <include name="commons-collections*.jar"/>
+                <include name="commons-collections4*.jar"/>
                 <include name="commons-el*.jar"/>
                 <include name="commons-fileupload*.jar"/>
                 <include name="httpcore*.jar"/>
@@ -976,6 +1018,10 @@
                 <include name="velocity*.jar"/>
                 <include name="slf4j*.jar"/>
                 <include name="mail*.jar"/>
+                <include name="poi*.jar"/>
+                <include name="dom4j*.jar"/>
+                <include name="xmlbeans*.jar"/>
+                <include name="curvesapi*.jar"/>
                 <include name="commons-exec*.jar"/>
                 <include name="gson*.jar"/>
                 <include name="guava*.jar"/>
@@ -1202,6 +1248,7 @@
             <include name="commons-lang*.jar"/>
             <include name="commons-codec*.jar"/>
             <include name="commons-collections*.jar"/>
+            <include name="commons-collections4*.jar"/>
             <include name="commons-el*.jar"/>
             <include name="commons-fileupload*.jar"/>
             <include name="commons-io*.jar"/>
@@ -1224,6 +1271,10 @@
             <include name="httpcore*.jar"/>
             <include name="httpclient*.jar"/>
             <include name="mail*.jar"/>
+            <include name="poi*.jar"/>
+            <include name="dom4j*.jar"/>
+            <include name="xmlbeans*.jar"/>
+            <include name="curvesapi*.jar"/>
             <include name="commons-exec*.jar"/>
             <include name="gson*.jar"/>
             <include name="guava*.jar"/>
@@ -1507,7 +1558,6 @@
                 <include name="quartz*.jar"/>
                 <include name="c3p0*.jar"/>
                 <include name="tagsoup*.jar"/>
-                <include name="poi*.jar"/>
                 <include name="vorbis-java*.jar"/>
                 <include name="netcdf*.jar"/>
                 <include name="unidataCommon*.jar"/>
@@ -1523,9 +1573,6 @@
                 <include name="bcmail-jdk15*.jar"/>
                 <include name="bcprov-jdk15*.jar"/>
                 <include name="bcpkix-jdk15*.jar"/>
-                <include name="curvesapi*.jar"/>
-                <include name="xmlbeans*.jar"/>
-                <include name="dom4j*.jar"/>
                 <include name="geronimo-stax-api_1.0_spec*.jar"/>
                 <include name="asm*.jar"/>
                 <include name="isoparser*.jar"/>

Modified: manifoldcf/trunk/framework/buildfiles/connector-build.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/buildfiles/connector-build.xml?rev=1806824&r1=1806823&r2=1806824&view=diff
==============================================================================
--- manifoldcf/trunk/framework/buildfiles/connector-build.xml (original)
+++ manifoldcf/trunk/framework/buildfiles/connector-build.xml Thu Aug 31 17:06:53 2017
@@ -116,6 +116,10 @@
         </fileset>
         <fileset dir="${mcf-dist}/lib">
             <include name="mail*.jar"/>
+            <include name="poi*.jar"/>
+            <include name="dom4j*.jar"/>
+            <include name="xmlbeans*.jar"/>
+            <include name="curvesapi*.jar"/>
             <include name="commons-exec*.jar"/>
             <include name="guava*.jar"/>
             <include name="gson*.jar"/>
@@ -123,6 +127,7 @@
             <include name="json-simple*.jar"/>
             <include name="commons-codec*.jar"/>
             <include name="commons-collections*.jar"/>
+            <include name="commons-collections4*.jar"/>
             <include name="commons-el*.jar"/>
             <include name="commons-fileupload*.jar"/>
             <include name="httpcore*.jar"/>
@@ -179,7 +184,6 @@
             <include name="quartz*.jar"/>
             <include name="c3p0*.jar"/>
             <include name="tagsoup*.jar"/>
-            <include name="poi*.jar"/>
             <include name="vorbis-java*.jar"/>
             <include name="apache-mime4j-core*.jar"/>
             <include name="apache-mime4j-dom*.jar"/>
@@ -190,9 +194,6 @@
             <include name="bcmail-jdk15on*.jar"/>
             <include name="bcprov-jdk15on*.jar"/>
             <include name="bcpkix-jdk15on*.jar"/>
-            <include name="curvesapi*.jar"/>
-            <include name="xmlbeans*.jar"/>
-            <include name="dom4j*.jar"/>
             <include name="geronimo-stax-api_1.0_spec*.jar"/>
             <include name="asm*.jar"/>
             <include name="isoparser*.jar"/>

Modified: manifoldcf/trunk/pom.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/pom.xml?rev=1806824&r1=1806823&r2=1806824&view=diff
==============================================================================
--- manifoldcf/trunk/pom.xml (original)
+++ manifoldcf/trunk/pom.xml Thu Aug 31 17:06:53 2017
@@ -83,7 +83,7 @@
     <jaxb.version>2.2.6</jaxb.version>
     <zookeeper.version>3.4.8</zookeeper.version>
     <xmlbeans.version>2.6.0</xmlbeans.version>
-    <poi.version>3.15-beta1</poi.version>
+    <poi.version>3.9</poi.version>
     <tika.version>1.14</tika.version>
     <boilerpipe.version>1.1.0</boilerpipe.version>
     <hadoop.version>2.6.0</hadoop.version>



Mime
View raw message