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


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.

Reply via email to