nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "heack" <>
Subject Re: How could I test my modify to NutchAnalysis.jj?
Date Sun, 10 Sep 2006 08:02:28 GMT
Thank you for your reply.
yeah, I use javacc NutchAnalysis.jj to generate,
and what is the next step?
bin/nutch it suggest to use bin/nutch CLASSNAME to run a class , So i ruan 
bin/nutch NutchAnalysis, but it shows:
exception in thread "main" java.lang.NoClassDefFoundError: NutchAnalysis
Maybe it could not find class path. The class path is 
And another problem is I could use ant to generate .jar file, and success, 
but how could I just compile some certain file like,
by this way I could save a lot test time.
Thank YOU again.

----- Original Message ----- 
From: "Stefan Groschupf" <>
To: <>
Sent: Sunday, September 10, 2006 3:52 PM
Subject: Re: How could I test my modify to NutchAnalysis.jj?

> There is a eclipse java cc plugin.
> It compiles your the grammar and you can write easily test code.
> However it has it's own issues so you may just want to generate the
> java files with the nutch ant script and write than unit tests again
> these files.
> Stefan
> On 10.09.2006, at 00:49, heack wrote:
>> I made some changes to this file(with main func), and I want to
>> test it, What should I do?
>> I use ant to build, but it build it all.
>> Maybe I could write an ant xml to run it, but is there any easier
>> way to do that?
>> Thank you!
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 101tec Inc.
> search tech for web 2.1
> Menlo Park, California

View raw message