I am able to build nutch with ant in Eclipse now. And I can run bin/nutch
from Cygwin command line and see the changes. Thanks guys!

Yet, as I was trying to run/debug the code within Eclipse, my changes made
to the code were *ignored*.

What I did was putting "org.apache.nutch.segment.SegmentReader" as the main
class in "Run Configurations", and putting required parameters in the
Arguments tab.

What did I do wrong? Whatelse needs to be set?

Thanks much.

---------- Forwarded message ----------
From: Cuongnhc <[EMAIL PROTECTED]>
Date: Mon, Oct 20, 2008 at 5:58 PM
Subject: Re: Newbie question: How do I build nutch with eclipse?
To: [EMAIL PROTECTED]


you should change default output folder (bin) to build: yourProject ->
Property -> Java Build Path -> Source -> Default output folder.
if you want to export jar file: open build.xml in root folder of your
project, open Outline Viewer and select jar option to build.


On Mon, Oct 20, 2008 at 4:33 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote:

> I followed the wiki tutorial "Build nutch 0.9 with eclipse" and it worked
> out great.
>
> But I still haven't figured out what to do to build jar files of my own and
> have "bin/nutch" use them. Anyone cares to explain?
>
> My eclipse experience is only limited to "export" to a jar file. But
> "bin/nutch" script uses tons of jar files! And I only made one single
> change
> in SegmentReader, what do I do update only this thing?
>
> Thanks in adv,
> -Peng
>

Reply via email to