You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2005/04/27 17:53:16 UTC

svn commit: r164997 - /lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/crawl_and_index.xml

Author: michi
Date: Wed Apr 27 08:53:15 2005
New Revision: 164997

URL: http://svn.apache.org/viewcvs?rev=164997&view=rev
Log:
call of the shellscript removed for crawling

Modified:
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/crawl_and_index.xml

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/crawl_and_index.xml
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/crawl_and_index.xml?rev=164997&r1=164996&r2=164997&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/crawl_and_index.xml (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/crawl_and_index.xml Wed Apr 27 08:53:15 2005
@@ -31,6 +31,7 @@
 <target name="init">
   <echo message="INFO: Init"/>
 
+  <property file="local.search.properties"/>
   <property file="search.properties"/>
 
   <!-- Dummy arguments -->
@@ -64,29 +65,23 @@
   <chmod file="${webapp.dir}/lenya/bin/crawl_and_index.sh" perm="755"/>
 </target>
 
-<target name="crawl" description="Crawl and dump hypertext documents. Usage: -Dcrawler.xconf=/foo/bar/crawler.xconf" depends="init">
-  <echo>INFO: Crawl and dump hypertext documents (${crawler.xconf})</echo>
 
-<!--
-  <exec executable="${webapp.dir}/lenya/bin/crawl_and_index.sh">
-    <arg value="crawl"/>
-    <arg value="${crawler.xconf}"/>
-  </exec>
--->
 
-<!-- TODO: Linkage problem -->
+<target name="crawl" description="Crawl and dump hypertext documents. Usage: -Dcrawler.xconf=/foo/bar/crawler.xconf (IMPORTANT NOTE: Use an absolute path to specify the crawler.xconf file" depends="init">
+  <echo>INFO: Crawl and dump hypertext documents (${crawler.xconf})</echo>
+
   <echo>INFO: Show configuration</echo>
   <java classname="org.apache.lenya.search.crawler.CrawlerConfiguration">
     <arg value="${crawler.xconf}"/>
     <classpath refid="class.path"/>
   </java>
 
-  <echo>INFO: Start crawling ...</echo>
+  <echo>INFO: START crawling ...</echo>
   <java classname="org.apache.lenya.search.crawler.IterativeHTMLCrawler">
     <arg value="${crawler.xconf}"/>
     <classpath refid="class.path"/>
   </java>
-  <echo>INFO: Crawling finished</echo>
+  <echo>INFO: Crawling DONE</echo>
 </target>
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org