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