RE: Having plugin as a separate project

2018-05-07 Thread Markus Jelsma
Hi, Here are examples using Maven: https://github.com/ATLANTBH/nutch-plugins/tree/master/nutch-plugins Regards, Markus -Original message- > From:Yash Thenuan Thenuan <rit2014...@iiita.ac.in> > Sent: Monday 7th May 2018 11:51 > To: user@nutch.apache.org > Subject:

Re: Having plugin as a separate project

2018-05-07 Thread Yash Thenuan Thenuan
Hey, Thanks for the answer, But my question was can't we write plugin by downloading the nutch jar and using it as a dependency, rather than adding the code in nutch source code? On Fri, May 4, 2018 at 8:08 PM, Jorge Betancourt wrote: > Usually we tend to develop

Re: Having plugin as a separate project

2018-05-04 Thread Jorge Betancourt
Usually we tend to develop everything inside the Nutch file structure, specially useful if you need to deploy to a Hadoop cluster later on (because you need to bundle everything in a job file). But, if you really want to develop the plugin in isolation you only need to create a new project in

Re: Having plugin as a separate project

2018-05-04 Thread narendra singh arya
Can we have nutch plugin as a separate project? On Fri, 4 May 2018, 19:26 Sebastian Nagel, wrote: > That's trivial. Just run ant in the plugin's source folder: > > cd src/plugin/urlnormalizer-basic/ > ant > > or to run also the tests > > cd

Re: Having plugin as a separate project

2018-05-04 Thread Sebastian Nagel
That's trivial. Just run ant in the plugin's source folder: cd src/plugin/urlnormalizer-basic/ ant or to run also the tests cd src/plugin/urlnormalizer-basic/ ant test Note: you have to compile the core test classes first by running ant compile-core-test in the Nutch "root" folder.

Having plugin as a separate project

2018-05-04 Thread Yash Thenuan Thenuan
Hi all, I want to compile my plugins separately so that I need not compile the whole project again when I make a change in some plugin. How can I achieve that? Thanks