Author: jnioche
Date: Thu Nov 14 12:12:32 2013
New Revision: 1541886
URL: http://svn.apache.org/r1541886
Log:
Removed all in one Crawl class (NUTCH-1621)
Removed:
nutch/branches/2.x/src/java/org/apache/nutch/crawl/Crawler.java
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=1541886&r1=1541885&r2=1541886&view=diff
==============================================================================
--- nutch/branches/2.x/CHANGES.txt (original)
+++ nutch/branches/2.x/CHANGES.txt Thu Nov 14 12:12:32 2013
@@ -2,6 +2,8 @@ Nutch Change Log
Current Development
+* NUTCH-1621 Remove deprecated class o.a.n.crawl.Crawler (Rui Gao via jnioche)
+
* NUTCH-1651 modifiedTime and prevmodifiedTime never set (Talat UYARER via
lewismc)
* NUTCH-1360 Suport the storing of IP address connected to when web crawling
(ferdy, lewismc, Yasin Kılınç)
Modified: nutch/branches/2.x/src/bin/nutch
URL:
http://svn.apache.org/viewvc/nutch/branches/2.x/src/bin/nutch?rev=1541886&r1=1541885&r2=1541886&view=diff
==============================================================================
--- nutch/branches/2.x/src/bin/nutch (original)
+++ nutch/branches/2.x/src/bin/nutch Thu Nov 14 12:12:32 2013
@@ -47,7 +47,6 @@ done
if [ $# = 0 ]; then
echo "Usage: nutch COMMAND"
echo "where COMMAND is one of:"
-# echo " crawl one-step crawler for intranets"
echo " inject inject new urls into the database"
echo " hostinject creates or updates an existing host table from a text
file"
echo " generate generate new batches to fetch from crawl db"
@@ -185,7 +184,8 @@ fi
# figure out which class to run
if [ "$COMMAND" = "crawl" ] ; then
-CLASS=org.apache.nutch.crawl.Crawler
+ echo "Command $COMMAND is deprecated, please use bin/crawl instead"
+ exit -1
elif [ "$COMMAND" = "inject" ] ; then
CLASS=org.apache.nutch.crawl.InjectorJob
elif [ "$COMMAND" = "hostinject" ] ; then