You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Apache Wiki <wi...@apache.org> on 2009/11/14 11:28:20 UTC

[Nutch Wiki] Update of "RunNutchInEclipse1.0" by AnasElghafari

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change notification.

The "RunNutchInEclipse1.0" page has been changed by AnasElghafari.
http://wiki.apache.org/nutch/RunNutchInEclipse1.0?action=diff&rev1=12&rev2=13

--------------------------------------------------

   * Name the project (Nutch_Trunk for instance)
   * Select "Create project from existing source" and use the location where you downloaded Nutch
   * Click on Next, and wait while Eclipse is scanning the folders
-  * Add the folder "conf" to the classpath (click the "Libraries" tab, click "Add Class Folder..." button, and select "conf" from the list) 
+  * Add the folder "conf" to the classpath (Right-click on the project, select "properties" then "Java Build Path" tab (left menu) and then the "Libraries" tab. Click "Add Class Folder..." button, and select "conf" from the list) 
   * Go to "Order and Export" tab, find the entry for added "conf" folder and move it to the top (by checking it and clicking the "Top" button). This is required so Eclipse will take config (nutch-default.xml, nutch-final.xml, etc.) resources from our "conf" folder and not from somewhere else.
   * Eclipse should have guessed all the Java files that must be added to your classpath. If that's not the case, add "src/java", "src/test" and all plugin "src/java" and "src/test" folders to your source folders. Also add all jars in "lib" and in the plugin lib folders to your libraries 
   * Click the "Source" tab and set the default output folder to "Nutch_Trunk/bin/tmp_build". (You may need to create the tmp_build folder.)
@@ -72, +72 @@

  http://nutch.cvs.sourceforge.net/nutch/nutch/src/plugin/parse-rtf/lib/
  
  Copy the jar files into src/plugin/parse-mp3/lib and src/plugin/parse-rtf/lib/ respectively.
- Then add the jar files to the build path (First refresh the workspace by pressing F5. Then right-click the project folder > Build Path > Configure Build Path...  Then select the Libraries tab, click "Add Jars..." and then add each .jar file individually).
+ Then add the jar files to the build path (First refresh the workspace by pressing F5. Then right-click the project folder > Build Path > Configure Build Path...  Then select the Libraries tab, click "Add Jars..." and then add each .jar file individually. If that does not work, you may try clicking "Add External JARs" and the point to the two the directories above).
  
  === Two Errors with RTFParseFactory ===