Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r712 - branches/opensource

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r712 - branches/opensource


Chronological Thread 
  • From: "Apache" <apache AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r712 - branches/opensource
  • Date: Wed, 6 Feb 2008 11:57:20 +0100
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: stadler_h AT PSI.CH
Date: Wed Feb 6 11:57:20 2008
New Revision: 712

Log:
Modified local-server ant script to start the indexer from the jar file
generated by the ant dist task.
Modified the classpath specification to be perfectly ant like.

Modified:
branches/opensource/local-server.xml

Modified: branches/opensource/local-server.xml
==============================================================================
--- branches/opensource/local-server.xml (original)
+++ branches/opensource/local-server.xml Wed Feb 6 11:57:20 2008
@@ -29,7 +29,6 @@
<property name="indexer.restartinterval" value="-1" />
<property name="indexer.auxiliary.dir"
value="${server.index.root.dir}" />
<property name="indexer.loglevel" value="INFO" />
- <property name="indexer.classpath"
value="lib/common.jar:lib/svnkit.jar:lib/lucene-core.jar:lib/PDFBox.jar:lib/FontBox.jar:lib/bcprov.jar:lib/bcmail.jar:lib/unoil.jar:lib/ridl.jar:lib/juh.jar:lib/jurt.jar:lib/exif.jar:lib/tar.jar"
/>

<fileset id="idok.libs.server" dir="">
<include name="ant_dist/idok.jar" />
@@ -41,6 +40,23 @@
<include name="lib/javamail.jar" />
<include name="lib/smtphandler.jar" />
</fileset>
+
+ <fileset id="idok.libs.indexer" dir="">
+ <include name="ant_dist/idok.jar" />
+ <include name="lib/svnkit.jar" />
+ <include name="lib/common.jar" />
+ <include name="lib/lucene-core.jar" />
+ <include name="lib/PDFBox.jar" />
+ <include name="lib/FontBox.jar" />
+ <include name="lib/bcprov.jar" />
+ <include name="lib/bcmail.jar" />
+ <include name="lib/unoil.jar" />
+ <include name="lib/ridl.jar" />
+ <include name="lib/juh.jar" />
+ <include name="lib/jurt.jar" />
+ <include name="lib/exif.jar" />
+ <include name="lib/tar.jar" />
+ </fileset>

<fileset id="idok.libs.webstart" dir="">
<include name="ant_dist/idok.jar" />
@@ -219,7 +235,10 @@

<target name="start-indexer" description="start the idok indexer
daemon">
<java classname="ch.idok.dmsd.main.Daemon"
output="${server.log.dir}/indexer.out" fork="true">
- <jvmarg line="-server -XX:NewRatio=2
-Xmx${indexer.heapsize.max} -cp ant_build:${indexer.classpath}"/>
+ <classpath>
+ <fileset refid="idok.libs.indexer" />
+ </classpath>
+ <jvmarg line="-server -XX:NewRatio=2
-Xmx${indexer.heapsize.max}"/>
<sysproperty
key="ch.idok.dmsd.impl.extractor.microsoft.screen"
value="${indexer.ooffice.screen}"/>
<sysproperty
key="ch.idok.dmsd.impl.extractor.microsoft.unoport"
value="${indexer.oouno.port}"/>
<sysproperty key="ch.idok.dmsd.impl.mimetypes"
value="${indexer.mimetypes}"/>



  • [idok-commit] idok commit r712 - branches/opensource, Apache, 02/06/2008

Archive powered by MHonArc 2.6.19.

Top of Page