Apache Nutch is an extensible and scalable web crawler
commit to address NUTCH-672 and update to changes.txt
Lewis John McGibbney8d78bd326003
diff --git a/CHANGES.txt b/CHANGES.txtindex e8d21b577..4d0894c74 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -2,6 +2,8 @@ Nutch Change LogRelease 1.4 - Current development+* NUTCH-672 allow unit tests to be run from bin/nutch (Todd Lipton via lewismc)+* NUTCH-937 Put plugins in classes/plugins in job file (Claudio Martella, Ferdy Galema, jnioche)* NUTCH-623 Change plugin source directory "languageidentifier" to "language-identifier"diff --git a/build.xml b/build.xmlindex 83bd7145e..7d1a4c872 100644--- a/build.xml+++ b/build.xml@@ -299,6 +299,9 @@<copy todir="${runtime.local}/plugins"><fileset dir="${build.dir}/plugins"/></copy>+ <copy todir="${runtime.local}/test">+ <fileset dir="${build.dir}/test"/>+ </copy></target><!-- ================================================================== -->diff --git a/src/bin/nutch b/src/bin/nutchindex b0ab94fa2..4f2cecec1 100755--- a/src/bin/nutch+++ b/src/bin/nutch@@ -72,6 +72,7 @@ if [ $# = 0 ]; thenecho " scoreupdater updates the crawldb with linkrank scores"echo " nodedumper dumps the web graph's node scores"echo " plugin load a plugin and run one of its classes main()"+ echo " junit runs the given JUnit test"echo " or"echo " CLASSNAME run the class named CLASSNAME"echo "Most commands print help when invoked w/o parameters."@@ -243,6 +244,9 @@ elif [ "$COMMAND" = "nodedumper" ] ; thenCLASS=org.apache.nutch.scoring.webgraph.NodeDumperelif [ "$COMMAND" = "plugin" ] ; thenCLASS=org.apache.nutch.plugin.PluginRepository+elif [ "$COMMAND" = "junit" ] ; then+ CLASSPATH=$CLASSPATH:test/classes/+ CLASS=junit.textui.TestRunnerelseCLASS=$COMMANDfi