You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Wildan Maulana (JIRA)" <ji...@apache.org> on 2009/01/20 10:18:00 UTC

[jira] Updated: (NUTCH-681) parse-mp3 compilation problem

     [ https://issues.apache.org/jira/browse/NUTCH-681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wildan Maulana updated NUTCH-681:
---------------------------------

    Attachment: MetadataCollector.java-compilation_issues.diff
                MP3Parser.java-compilation_issues.diff

please re-check the patch that i have submitted above

> parse-mp3 compilation problem
> -----------------------------
>
>                 Key: NUTCH-681
>                 URL: https://issues.apache.org/jira/browse/NUTCH-681
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>         Environment: ubuntu, nutch-1.0-dev (trunk revision : 734360)
>            Reporter: Wildan Maulana
>             Fix For: 1.0.0
>
>         Attachments: MetadataCollector.java-compilation_issues.diff, MP3Parser.java-compilation_issues.diff
>
>
> Due to API changes, the MP3 parser (which is not compiled by default due to licensing problem) doesn't compile anymore.
> compile:
>      [echo] Compiling plugin: parse-mp3
>     [javac] Compiling 2 source files to /home/wildan/jobstuff/LIPI/Ngoprek/nutch/build/parse-mp3/classes
>     [javac] /home/wildan/jobstuff/LIPI/Ngoprek/nutch/src/plugin/parse-mp3/src/java/org/apache/nutch/parse/mp3/MP3Parser.java:53: org.apache.nutch.parse.mp3.MP3Parser is not abstract and does not override abstract method getParse(org.apache.nutch.protocol.Content) in org.apache.nutch.parse.Parser
>     [javac] public class MP3Parser implements Parser {
>     [javac]        ^
>     [javac] /home/wildan/jobstuff/LIPI/Ngoprek/nutch/src/plugin/parse-mp3/src/java/org/apache/nutch/parse/mp3/MP3Parser.java:58: getParse(org.apache.nutch.protocol.Content) in org.apache.nutch.parse.mp3.MP3Parser cannot implement getParse(org.apache.nutch.protocol.Content) in org.apache.nutch.parse.Parser; attempting to use incompatible return type
>     [javac] found   : org.apache.nutch.parse.Parse
>     [javac] required: org.apache.nutch.parse.ParseResult
>     [javac]   public Parse getParse(Content content) {
>     [javac]                ^
>     [javac] /home/wildan/jobstuff/LIPI/Ngoprek/nutch/src/plugin/parse-mp3/src/java/org/apache/nutch/parse/mp3/MetadataCollector.java:54: cannot find symbol
>     [javac] symbol  : constructor Outlink(java.lang.String,java.lang.String,org.apache.hadoop.conf.Configuration)
>     [javac] location: class org.apache.nutch.parse.Outlink
>     [javac]       links.add(new Outlink(value, "", this.conf));
>     [javac]                 ^
>     [javac] Note: /home/wildan/jobstuff/LIPI/Ngoprek/nutch/src/plugin/parse-mp3/src/java/org/apache/nutch/parse/mp3/MetadataCollector.java uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 3 errors
> BUILD FAILED
> /home/wildan/jobstuff/LIPI/Ngoprek/nutch/build.xml:113: The following error occurred while executing this line:
> /home/wildan/jobstuff/LIPI/Ngoprek/nutch/src/plugin/build.xml:55: The following error occurred while executing this line:
> /home/wildan/jobstuff/LIPI/Ngoprek/nutch/src/plugin/build-plugin.xml:111: Compile failed; see the compiler error output for details.

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