You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by le...@apache.org on 2012/07/13 13:06:28 UTC

svn commit: r1361154 - /nutch/branches/2.x/src/bin/nutch

Author: lewismc
Date: Fri Jul 13 11:06:27 2012
New Revision: 1361154

URL: http://svn.apache.org/viewvc?rev=1361154&view=rev
Log:
trivial commit to add nutchserver to nutch CLI

Modified:
    nutch/branches/2.x/src/bin/nutch

Modified: nutch/branches/2.x/src/bin/nutch
URL: http://svn.apache.org/viewvc/nutch/branches/2.x/src/bin/nutch?rev=1361154&r1=1361153&r2=1361154&view=diff
==============================================================================
--- nutch/branches/2.x/src/bin/nutch (original)
+++ nutch/branches/2.x/src/bin/nutch Fri Jul 13 11:06:27 2012
@@ -61,6 +61,7 @@ if [ $# = 0 ]; then
   echo " solrdedup 	remove duplicates from solr"
   echo " parsechecker   check the parser for a given url"
   echo " plugin 	load a plugin and run one of its classes main()"
+  echo " nutchserver    run a (local) Nutch server on a user defined port"
   echo " junit         	runs the given JUnit test"
   echo " or"
   echo " CLASSNAME 	run the class named CLASSNAME"
@@ -208,6 +209,8 @@ elif [ "$COMMAND" = "parsechecker" ] ; t
   CLASS=org.apache.nutch.parse.ParserChecker
 elif [ "$COMMAND" = "plugin" ] ; then
 CLASS=org.apache.nutch.plugin.PluginRepository
+elif [ "$COMMAND" = "nutchserver" ] ; then
+CLASS=org.apache.nutch.api.NutchServer
 elif [ "$COMMAND" = "junit" ] ; then
   CLASSPATH=$CLASSPATH:test/classes/
   CLASS=junit.textui.TestRunner