Dear Wiki user, You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change notification.
The "RunNutchInEclipse" page has been changed by LewisJohnMcgibbney: http://wiki.apache.org/nutch/RunNutchInEclipse?action=diff&rev1=17&rev2=18 * Click the "Finish" button * DO NOT add "build" to classpath - ==== If you're using the trunk ==== - As of revision 511012 there were a few plugins on the trunk and a couple other files that did not build, and are actually excluded from the ant projects. You may want to remove the following projects from the build structure: - - * plugin/parse-mp3 - * plugin/parse-rtf - * contrib/* - === Configure Nutch === - * see the [[http://wiki.apache.org/nutch/NutchTutorial|Tutorial]] + * see the [[http://wiki.apache.org/nutch/NutchTutorial|Tutorial]] and follow all configuration steps, ensure that you '''DO NOT''' undertake any crawling. The directory structure for Nutch-1.3 enables us to edit nutch-site.xml.template, nutch-default.xml and regex-urlfilter.txt.template in our /conf directory, these properties will then be automatically built into our /runtime build folder. - * change the property "plugin.folders" to "./src/plugin" on $NUTCH_HOME/conf/nutch-site.xml + * ensure that you change the property "plugin.folders" to "./src/plugin" on $NUTCH_HOME/conf/nutch-site.xml - * make sure Nutch is configured correctly before testing it into Eclipse ;-) + * Once we have ensured that Nutch 1.3 is correctly configured we can progress to building within Eclipse. === Build Nutch === - * In case you setup the project correctly, Eclipse will built Nutch for you into "tmp_build". + * We can now progress to building Nutch by simply dragging the build.xml file into the Ant perspective and double clicking on the build file. If you configured the project correctly, Eclipse will build Nutch for you into "tmp_build" and you should see something similar to the following: + {{{ + [copy] Copying 1 file to /home/lewis/apache-nutch-1.3/runtime/deploy + [copy] Copying 1 file to /home/lewis/apache-nutch-1.3/runtime/deploy/bin + [copy] Copying 1 file to /home/lewis/apache-nutch-1.3/runtime/local/lib + [copy] Copying 1 file to /home/lewis/apache-nutch-1.3/runtime/local/lib/native + [copy] Copying 20 files to /home/lewis/apache-nutch-1.3/runtime/local/conf + [copy] Copying 1 file to /home/lewis/apache-nutch-1.3/runtime/local/bin + [copy] Copying 42 files to /home/lewis/apache-nutch-1.3/runtime/local/lib + [copy] Copying 107 files to /home/lewis/apache-nutch-1.3/runtime/local/plugins + BUILD SUCCESSFUL + Total time: 33 seconds + }}} === Create Eclipse launcher === * Menu Run > "Run..."

