SHARE
TWEET

run.bat

a guest Sep 22nd, 2010 125 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. setlocal EnableDelayedExpansion
  3.  
  4. SET OLDCD=%CD%
  5.  
  6. cd %~dp0..
  7.  
  8. SET JAVA_OPTS=-server -Xmx1g
  9. SET CLASS=com.github.rnewson.couchdb.lucene.Main
  10.  
  11. SET CLASSPATH="conf"
  12. for %%i in ("lib\*.jar") do SET CLASSPATH=!CLASSPATH!;"%%~dpfi"
  13.  
  14. java.exe %JAVA_OPTS% -cp %CLASSPATH% %CLASS%
  15.  
  16. cd %OLDCD%
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top