From bf938d4a9c77ed2a092fdca64602de9a9c584881 Mon Sep 17 00:00:00 2001 From: David Huynh Date: Mon, 8 Feb 2010 19:28:13 +0000 Subject: [PATCH] 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 --- gridworks.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gridworks.bat b/gridworks.bat index c6f2f7f0a..4bed535ad 100644 --- a/gridworks.bat +++ b/gridworks.bat @@ -17,7 +17,7 @@ rem --- First two utilities for exiting ---------------------------------------- goto endUtils :usage -echo Usage: %0 [options] +echo Usage %0 [options] ^ 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