> -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Paul > Tomblin > Sent: Friday, July 31, 2009 9:49 PM > To: [email protected] > Subject: Re: Plugin development > > On Fri, Jul 31, 2009 at 4:33 AM, Alexander > Aristov<[email protected]> 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
