Hello,

I know a bit of Java and Java development tools but not much.  I am trying
to make some changes to Nutch and am having some troubles.

I noticed this in bin/nutch:

if [ -d "$NUTCH_HOME/build/test/classes" ]; then
 CLASSPATH=${CLASSPATH}:$NUTCH_HOME/build/test/classes
fi


So I think great, I can just copy the .class files that I made to to (in my
case) build/test/classes/org/apache/nutch/crawl, and I can run bin/nutch and
it'll pick it up.

But this doesn't seem to be the case.  When I try to run bin/nutch
org.apache.nutch.crawl.PruneDB (a class I'm writing), I get old command line
usage that I had since updated.

Right now it seems like I have to run `ant package` and then copy the
nutch-0.8.jar file out of the build dir and into the nutch dir.  But that
takes a really long time!  I'd like to just be able to run `ant
compile-core` and then run bin/nutch...

How should I be doing this?

Thanks for all the help,

Ben

Reply via email to