nutch-dev mailing list archives

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


Dmitry Lihachev commented on NUTCH-691:

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

cd nutch
patch -p0 < NUTCH-691-v1-test.patch
rm NUTCH-691-v1-test.patch
wget \
     -O src/plugin/parse-msword/sample/bugzilla_bug_41076_att_19200.doc
wget \
     -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 ../../..

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
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

2. as of new version POI provides changed API you must apply patch [^NUTCH-691-v1-poi.patch]
patch -p0 < NUTCH-691-v1-poi.patch
rm NUTCH-691-v1-poi.patch

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

> Update jakarta poi jars to the most relevant version
> ----------------------------------------------------
>                 Key: NUTCH-691
>                 URL:
>             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.

View raw message