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/11/09 17:35:51 UTC

svn commit: r1407531 - in /nutch/branches/2.x: CHANGES.txt src/bin/nutch

Author: lewismc
Date: Fri Nov  9 16:35:50 2012
New Revision: 1407531

URL: http://svn.apache.org/viewvc?rev=1407531&view=rev
Log:
* NUTCH-1488 bin/nutch to run junit from any directory (snagel via lewismc)

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

Modified: nutch/branches/2.x/CHANGES.txt
URL: http://svn.apache.org/viewvc/nutch/branches/2.x/CHANGES.txt?rev=1407531&r1=1407530&r2=1407531&view=diff
==============================================================================
--- nutch/branches/2.x/CHANGES.txt (original)
+++ nutch/branches/2.x/CHANGES.txt Fri Nov  9 16:35:50 2012
@@ -2,6 +2,8 @@ Nutch Change Log
 
 Release 2.2 - Current Development
 
+* NUTCH-1488 bin/nutch to run junit from any directory (snagel via lewismc)
+
 * NUTCH-1493 Error adding field 'contentLength'='' during solrindex using index-more (Nathan Gass via lewismc)
 
 * NUTCH-1491 Strip UTF-8 non-character codepoints in title (Nathan Gass via markus)

Modified: nutch/branches/2.x/src/bin/nutch
URL: http://svn.apache.org/viewvc/nutch/branches/2.x/src/bin/nutch?rev=1407531&r1=1407530&r2=1407531&view=diff
==============================================================================
--- nutch/branches/2.x/src/bin/nutch (original)
+++ nutch/branches/2.x/src/bin/nutch Fri Nov  9 16:35:50 2012
@@ -215,7 +215,7 @@ CLASS=org.apache.nutch.plugin.PluginRepo
 elif [ "$COMMAND" = "nutchserver" ] ; then
 CLASS=org.apache.nutch.api.NutchServer
 elif [ "$COMMAND" = "junit" ] ; then
-  CLASSPATH=$CLASSPATH:test/classes/
+  CLASSPATH=$CLASSPATH:$NUTCH_HOME/test/classes/
   CLASS=junit.textui.TestRunner
 else
 CLASS=$COMMAND