Hi Kiran

On Mon, Oct 1, 2012 at 7:46 PM, kiran chitturi
<[email protected]> wrote:

> I have made an improvement in patches for the parse-metatags plugin and
> posted the patches here. https://issues.apache.org/jira/browse/NUTCH-1467

Great work!

>
> Can this plugin be included in nutch-2.0 ? Does this need to be rewritten
> or can be used directly with 2.0 ?

No I suspect there are numerous areas where the API differs quite clearly.

>
> Please let me know if anyone worked with this. I tried few things but the
> java files are not getting compiled and throwing (Cannot find symbol)
> errors like this. This same file works in apache-nutch-1.5.1 version.
>
>      [echo] Compiling plugin: index-metadata
>     [javac]
> /usr/home/kiranch/sourceFiles/nutch-2.0/src/plugin/build-plugin.xml:117:
> warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 1 source file to
> /usr/home/kiranch/sourceFiles/nutch-2.0/build/index-metadata/classes
>     [javac]
> /usr/home/kiranch/sourceFiles/nutch-2.0/src/plugin/index-metadata/src/java/org/apache/nutch/indexer/metadata/MetadataIndexer.java:26:
> cannot find symbol
>     [javac] symbol  : class CrawlDatum
...

The CrawlDatum (along with many other classes) does not exist in 2.x
as the architecture is much simpler.

There is no way I can look into this tonight but maybe this week I can
get around to it. Your best best for the tie being would be to have a
browse through (some of) the code which seems to be throwing you off
just now

http://svn.apache.org/repos/asf/nutch/branches/2.x/src/java/org/apache/nutch/crawl/

Thanks

Lewis



-- 
Lewis

Reply via email to