You don't need to compile or run the code in Eclipse to debug Nutch. All you
need is to pass the appropriate JVM params with NUTCH_OPTS (sorry the actual
params are on my other laptop but I have mentioned it on the list several
times) and use remote debugging in Eclipse (assuming of course that Nutch
runs in non-distributed mode). Nutch is meant to be compiled with ANT and
ran with its script, however it could be interesting to investigate the use
of Karmasphere with Nutch for debugging and testing. Has anyone tried that?

As for understanding the code - well all its takes is to point to the
location of the sources + possibly use IvyDE for getting rid of the error
messages

Julien


requirement for anyone wishing to debug/understand how classes work in Nutch
> 1.3, when the time comes around any opinions/comments you have would be a
> great addition.
>  Thanks
>
> 2011/6/30 Nutch User - 1 <[email protected]>
>
> >  On 01/01/2011 08:52 AM, jeffersonzhou wrote:
> > > When you new a Java project for Nutch 1.3, what default location did
> you
> > > use? The folder where you unzipped the software or the runtime/local?
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Nutch User - 1 [mailto:[email protected]]
> > > Sent: Thursday, June 30, 2011 2:43 PM
> > > To: [email protected]
> > > Subject: Re: Using nutch 1.3 in Eclipse
> > >
> > > On 06/30/2011 02:00 AM, dyzc wrote:
> > >> Hi, is there any information regarding working nutch 1.3 in eclipse?
> > > Thanks
> > >
> > > I got it working with the help of this
> > > (http://wiki.apache.org/nutch/RunNutchInEclipse1.0). However, I have
> had
> > > serious difficulties with the trunk of 2.0 and Eclipse as described
> here
> > > (http://lucene.472066.n3.nabble.com/TestFetcher-hangs-td3091057.html).
> > >
> >
> > I did as the tutorial suggested:"Select "Create project from existing
> > source" and use the location where you downloaded Nutch". I may have
> > copied some .jar-files from runtime/local/lib to lib or then Ivy
> > obtained them when running the Ant build from Eclipse.
> >
>
>
>
> --
> *Lewis*
>



-- 
*
*Open Source Solutions for Text Engineering

http://digitalpebble.blogspot.com/
http://www.digitalpebble.com

Reply via email to