- Fixed Usage text.

- Added oro.jar property.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150796 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2002-06-30 14:58:27 +00:00
parent d53f677efd
commit 05d752d877
1 changed files with 7 additions and 7 deletions
sandbox/contributions/webcrawler-LARM

View File

@ -20,14 +20,13 @@
<property name="build.src" value="${build.dir}/src"/> <property name="build.src" value="${build.dir}/src"/>
<property name="build.encoding" value="ISO-8859-1"/> <property name="build.encoding" value="ISO-8859-1"/>
<property name="threads" value="15"/> <property name="threads" value="15"/>
<!-- Build classpath --> <!-- Build classpath -->
<path id="classpath"> <path id="classpath">
<pathelement location="${build.classes}"/> <pathelement location="${build.classes}"/>
<pathelement location="${lucene.jar}"/> <pathelement location="${lucene.jar}"/>
<pathelement location="${oro.jar}"/>
<fileset dir="${lib.dir}"> <fileset dir="${lib.dir}">
<include name="*.jar" /> <include name="*.jar" />
</fileset> </fileset>
@ -36,6 +35,7 @@
<path id="run.classpath"> <path id="run.classpath">
<pathelement location="${build.dir}/${final.name}.jar"/> <pathelement location="${build.dir}/${final.name}.jar"/>
<pathelement location="${lucene.jar}"/> <pathelement location="${lucene.jar}"/>
<pathelement location="${oro.jar}"/>
<fileset dir="${lib.dir}"> <fileset dir="${lib.dir}">
<include name="*.jar" /> <include name="*.jar" />
</fileset> </fileset>
@ -95,9 +95,9 @@
<target name="checksyntax" unless="start"> <target name="checksyntax" unless="start">
<echo> <echo>
use run with the following syntax use run with the following syntax
ant run -Dstart=&lt;URL&gt; -Drestrictto=&lt;Pattern&gt; [-threads=&lt;Thread Count&gt;] ant run -Dstart=&lt;URL&gt; -Drestrictto=&lt;Pattern&gt; [-Dthreads=&lt;Thread Count&gt;]
default value for threads is 15 default value for threads is 15
</echo> </echo>
</target> </target>
@ -109,7 +109,7 @@
description="-> runs command-line version of the crawler"> description="-> runs command-line version of the crawler">
<delete dir="${logs.dir}"/> <delete dir="${logs.dir}"/>
<mkdir dir="${logs.dir}"/> <mkdir dir="${logs.dir}"/>
<java <java
classname="de.lanlab.larm.fetcher.FetcherMain" classname="de.lanlab.larm.fetcher.FetcherMain"
fork="yes"> fork="yes">
<jvmarg value="-server"/> <jvmarg value="-server"/>