be permissive with datagov resource file size
[disclosr.git] / couchdb / couchdb-lucene-run.bat.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@echo off

set CLASSPATH="../conf;"
Echo Cleared classpath

set JAVA_OPTS="-server -Xmx1g"
Echo set Java Opts %JAVA_OPTS%

set CLASS=com.github.rnewson.couchdb.lucene.Main
Echo set couchdb-lucene class %CLASS%

setlocal ENABLEDELAYEDEXPANSION
if defined CLASSPATH (set CLASSPATH=%CLASSPATH%;.) else (set CLASSPATH=.)
FOR /R ..\lib %%G IN (*.jar) DO set CLASSPATH=!CLASSPATH!;%%G
Echo The Classpath definition is %CLASSPATH%

java "%JAVA_OPTS%" -cp %CLASSPATH% %CLASS%