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

Julien Nioche commented on NUTCH-1714:
--------------------------------------

The code has changed since the last patch and we are now getting : 

{code}
compile:
     [echo] Compiling plugin: parse-html
    [javac] Compiling 5 source files to /data/nutch-2.x/build/parse-html/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.6
    [javac] 
/data/nutch-2.x/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/HtmlParser.java:195:
 error: cannot find symbol
    [javac]       page.putToMetadata(new Utf8(Metadata.ORIGINAL_CHAR_ENCODING), 
ByteBuffer.wrap(Bytes.toBytes(encoding)));
    [javac]           ^
    [javac]   symbol:   method putToMetadata(Utf8,ByteBuffer)
    [javac]   location: variable page of type WebPage
    [javac] 
/data/nutch-2.x/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/HtmlParser.java:196:
 error: cannot find symbol
    [javac]       page.putToMetadata(new 
Utf8(Metadata.CHAR_ENCODING_FOR_CONVERSION), 
ByteBuffer.wrap(Bytes.toBytes(encoding)));
    [javac]           ^
    [javac]   symbol:   method putToMetadata(Utf8,ByteBuffer)
    [javac]   location: variable page of type WebPage
    [javac] 2 errors
    [javac] 1 warning
{code}

but this should be easily fixable

> Nutch 2.x upgrade to Gora 0.4
> -----------------------------
>
>                 Key: NUTCH-1714
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1714
>             Project: Nutch
>          Issue Type: Improvement
>            Reporter: Alparslan Avcı
>            Assignee: Alparslan Avcı
>             Fix For: 2.3
>
>         Attachments: NUTCH-1714.patch, NUTCH-1714_NUTCH-1714_v2_v3.patch, 
> NUTCH-1714v2.patch, NUTCH-1714v4.patch, NUTCH-1714v5.patch
>
>
> Nutch upgrade for GORA_94 branch has to be implemented. We can discuss the 
> details in this issue.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to