You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by Apache Wiki <wi...@apache.org> on 2006/08/23 21:34:47 UTC

[Nutch Wiki] Trivial Update of "RunNutchInEclipse" by StefanGroschupf

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 StefanGroschupf:
http://wiki.apache.org/nutch/RunNutchInEclipse

------------------------------------------------------------------------------
  
  === Create a new java project in Eclipse ===
   * File > New > Project > Java project > click Next
-  * select "Create prject from existing source" and use the location where you downloaded Nutch
+  * select "Create project from existing source" and use the location where you downloaded Nutch
-  * click on Next, and wait while Eclipse is scanning the
+  * click on Next, and wait while Eclipse is scanning the folders
   * add the folder "conf" to the classpath (important)
+  * add "src/java", "src/test" and all plugin "src/java" and "src/test" folders to your source folders
+  * add all jars in "lib" and in the plugin lib folders to your libraries 
-  * set output dir to "build", create it if necessary
+  * set output dir to "tmp_build", create it if necessary
   * DO NOT add build to classpath
  
  === Configure Nutch ===
   * see the [http://lucene.apache.org/nutch/tutorial8.html Tutorial]
+  * change the property "plugin.folders" to "./src/plugin"
   * make sure Nutch is configured correctly before testing it into Eclipse
  
  === Build Nutch ===
+  * In case you setup the project correctly than eclipse will built nutch for you into "tmp_build".
-  * make sure that there's no files in the build/ dir. Delete them if necessary
-  * right click on build.xml and select "Run as..." > "Ant build"
-  * Eclipe will start to build Nutch. Check the progress in the Console
  
  === Create launcher ===
   * Menu Run > "Run..."