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/04/16 19:54:58 UTC

[Nutch Wiki] Trivial Update of "RunNutchInEclipse1.0" by FrankMcCown

Dear Wiki user,

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

The following page has been changed by FrankMcCown:
http://wiki.apache.org/nutch/RunNutchInEclipse1%2e0

The comment on the change is:
Clarified some instructions and improved grammar

------------------------------------------------------------------------------
   * Do not build Nutch yet. Make sure you have no .project and .classpath files in the Nutch directory
  
  
- === Create a new java project in Eclipse ===
+ === Create a new Java Project in Eclipse ===
   * File > New > Project > Java project > click Next
   * 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 (third tab and then add class folder) 
+  * Add the folder "conf" to the classpath (click 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. It's required to make eclipse take config (nutch-default.xml, nutch-final.xml, etc.) resources from our "conf" folder not anywhere else.
+  * 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 on your classpath. If it'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 
-  * Set output dir to "tmp_build", create it if necessary
+  * 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.)
+  * Click the "Finish" button
   * DO NOT add "build" to classpath