nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lihachev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (NUTCH-691) Update jakarta poi jars to the most relevant version
Date Wed, 18 Feb 2009 05:35:02 GMT

    [ https://issues.apache.org/jira/browse/NUTCH-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674468#action_12674468
] 

Dmitry Lihachev commented on NUTCH-691:
---------------------------------------

Steps to reproduce NUTCH-591 (you must have trunk version of nutch in the nutch dir)

{code}
cd nutch
wget https://issues.apache.org/jira/secure/attachment/12400380/NUTCH-691-v1-test.patch
patch -p0 < NUTCH-691-v1-test.patch
rm NUTCH-691-v1-test.patch
wget https://issues.apache.org/bugzilla/attachment.cgi?id=19200 \
     -O src/plugin/parse-msword/sample/bugzilla_bug_41076_att_19200.doc
wget https://issues.apache.org/bugzilla/attachment.cgi?id=22957 \
     -O src/plugin/parse-msword/sample/bugzilla_bug_41076_att_22957.doc
ant clean compile-core
cd src/plugin/parse-msword/; ant clean test; cd ../../..
{code}

With new version of jakarta poi this test pass.
Steps to upgrade jakarta poi to 3.5 beta 4.

1. download new version of POI and update jars in src/plugin/lib-jakarta-poi
{code}
wget http://www.sai.msu.su/apache/poi/dev/bin/poi-bin-3.5-beta4-20081128.tar.gz
tar -xzf poi-bin-3.5-beta4-20081128.tar.gz
cp poi-3.5-beta4/poi{,-scratchpad}-3.5-beta4-20081128.jar src/plugin/lib-jakarta-poi/lib/
rm src/plugin/lib-jakarta-poi/lib/poi{,-scratchpad}-3.0-alpha1-20050704.jar
# cleanup downloaded stuff
rm poi-bin-3.5-beta4-20081128.tar.gz
rm -r poi-3.5-beta4
{code}

2. as of new version POI provides changed API you must apply patch [^NUTCH-691-v1-poi.patch]
{code}
wget https://issues.apache.org/jira/secure/attachment/12400378/NUTCH-691-v1-poi.patch
patch -p0 < NUTCH-691-v1-poi.patch
rm NUTCH-691-v1-poi.patch
{code}

3. Test that all docs are correctly readed.
{code}
cd src/plugin/lib-jakarta-poi/; ant clean; cd ../../..
cd src/plugin/parse-msword/; ant clean test; cd ../../..
{code}

> Update jakarta poi jars to the most relevant version
> ----------------------------------------------------
>
>                 Key: NUTCH-691
>                 URL: https://issues.apache.org/jira/browse/NUTCH-691
>             Project: Nutch
>          Issue Type: Improvement
>          Components: fetcher
>    Affects Versions: 1.0.0
>            Reporter: Dmitry Lihachev
>         Attachments: NUTCH-691-v1-poi.patch, NUTCH-691-v1-test.patch
>
>
> Update  jakarta poi jars to the most relevant version closes bug NUTCH-591.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message