mirror of https://github.com/apache/lucene.git
- 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:
parent
d53f677efd
commit
05d752d877
sandbox/contributions/webcrawler-LARM
|
@ -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=<URL> -Drestrictto=<Pattern> [-threads=<Thread Count>]
|
ant run -Dstart=<URL> -Drestrictto=<Pattern> [-Dthreads=<Thread Count>]
|
||||||
|
|
||||||
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"/>
|
||||||
|
|
Loading…
Reference in New Issue