a guest Sep 22nd, 2010 125 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- @echo off
- setlocal EnableDelayedExpansion
- SET OLDCD=%CD%
- cd %~dp0..
- SET JAVA_OPTS=-server -Xmx1g
- SET CLASS=com.github.rnewson.couchdb.lucene.Main
- SET CLASSPATH="conf"
- for %%i in ("lib\*.jar") do SET CLASSPATH=!CLASSPATH!;"%%~dpfi"
- java.exe %JAVA_OPTS% -cp %CLASSPATH% %CLASS%
- cd %OLDCD%
RAW Paste Data