Minor fixes to get gridworks.bat working on Windows.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@67 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-02-08 19:28:13 +00:00
parent f198cba994
commit bf938d4a9c

View File

@ -17,7 +17,7 @@ rem --- First two utilities for exiting ----------------------------------------
goto endUtils goto endUtils
:usage :usage
echo Usage: %0 [options] <action> echo Usage %0 [options] ^<action^>
echo where [options] include: echo where [options] include:
echo. echo.
echo /h print this message and exit echo /h print this message and exit
@ -97,7 +97,7 @@ goto loop
rem --- Fold in Environment Vars -------------------------------------------- rem --- Fold in Environment Vars --------------------------------------------
if not "%JAVA_OPTIONS%" == "" goto gotJavaOptions if not "%JAVA_OPTIONS%" == "" goto gotJavaOptions
set JAVA_OPTIONS=-Xms32M -Xmx256M set JAVA_OPTIONS=-Xms256M -Xmx1024M
:gotJavaOptions :gotJavaOptions
set OPTS=%OPTS% %JAVA_OPTIONS% set OPTS=%OPTS% %JAVA_OPTIONS%
@ -141,8 +141,8 @@ goto usage
ant -f build.xml compile ant -f build.xml compile
goto end goto end
:doRun :doRun
CLASSPATH="%GRIDWORKS_BUILD_DIR%\classes;%GRIDWORKS_LIB_DIR%\*.jar" set CLASSPATH="%GRIDWORKS_BUILD_DIR%\classes;%GRIDWORKS_LIB_DIR%\*"
"%JAVA_HOME%\bin\java.exe" -cp %CLASSPATH% %OPTS% com.metaweb.gridworks.Gridworks "%JAVA_HOME%\bin\java.exe" -cp %CLASSPATH% %OPTS% com.metaweb.gridworks.Gridworks
goto end goto end