You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Ar...@csiro.au on 2009/08/03 01:37:40 UTC

RE: Plugin development

> -----Original Message-----
> From: ptomblin@gmail.com [mailto:ptomblin@gmail.com] On Behalf Of Paul
> Tomblin
> Sent: Friday, July 31, 2009 9:49 PM
> To: nutch-user@lucene.apache.org
> Subject: Re: Plugin development
> 
> On Fri, Jul 31, 2009 at 4:33 AM, Alexander
> Aristov<al...@gmail.com> wrote:
> > What do you mean under putting it in the nutch source tree.
> 
> 
> I mean those instructions you linked to (which I had already seen)
> only show you how to compile your plugin if you're willing to put it
> in $NUTCH_HOME/src/nutch/plugin, which I am not.  I want to be able to
> compile it in my own source tree.  I don't need to put my servlet code
> in the Tomcat source code tree to compile it, and I don't need to put
> my Swing code in com/javax, so I shouldn't need the source code tree
> of Nutch just to compile a plugin.

You can compile your plugin anywhere you want, as long as it has required interfaces and does what it is expected to do. Then you make a jar file and place it in a separate folder in Nutch plugins folder, together with plugin.xml file. See how it is done for other plugins.

 
> 
> --
> http://www.linkedin.com/in/paultomblin