Hey Jon, Ant should have already compiled it for you. Try bin/nutch org.apache.nutch.tools.PruneIndexTool [...] and it should work.
HTH, Renaud Jonathan Hunter wrote: > nutch-users, > I was able to use ant to build and compile my nutch directory. I was > wondering if ant is the correct tool to compile the PruneIndexTool.java > specifically. If so, what is the command I should call to compile? > > thank you, > ~Jon > > ----- Original Message ----- > From: Sami Siren <[EMAIL PROTECTED]> > Date: Monday, January 22, 2007 10:10 am > Subject: Re: Compiling PruneIndexTool trouble > To: [email protected] > > >> Jonathan Hunter wrote: >> >>> Dear nutch-users, >>> >>> I am trying to make some changes to the Nutch's PruneIndexTool, but >>> before I start making those changes I wanted to make sure that I >>> >> am able >> >>> to compile the current PruneIndexTool from the command line. >>> >>> I checked to make sure that the java compiler works in general by >>> >> using> it to compile a simple hello world program. >> >>> I did this by calling the following command from my nutch directory: >>> >>> $ javac helloworld.java >>> //compiles with no errors >>> $ java helloworld >>> hello world >>> $ >>> >>> >> You should use "ant" command to compile nutch (including >> PruneIndexTool). >> $ ant >> >> -- >> Sami Siren >> >> > > -- renaud richardet +1 617 230 9112 renaud <at> oslutions.com http://www.oslutions.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
