gource master
[disclosr.git] / couchdb / couchdb-lucene-run.bat.txt
Maxious 1 @echo off
2
3 set CLASSPATH="../conf;"
4 Echo Cleared classpath
5
6 set JAVA_OPTS="-server -Xmx1g"
7 Echo set Java Opts %JAVA_OPTS%
8
9 set CLASS=com.github.rnewson.couchdb.lucene.Main
10 Echo set couchdb-lucene class %CLASS%
11
12 setlocal ENABLEDELAYEDEXPANSION
13 if defined CLASSPATH (set CLASSPATH=%CLASSPATH%;.) else (set CLASSPATH=.)
14 FOR /R ..\lib %%G IN (*.jar) DO set CLASSPATH=!CLASSPATH!;%%G
15 Echo The Classpath definition is %CLASSPATH%
16
17 java "%JAVA_OPTS%" -cp %CLASSPATH% %CLASS%
18