summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar mschwerhoff <unknown>2011-09-15 14:29:23 +0200
committerGravatar mschwerhoff <unknown>2011-09-15 14:29:23 +0200
commit3dcb932f1442a9fa2b29f2b62d986aac2aec4d1a (patch)
tree2697c97bdda6d6c624e31557686e9bedaf3cc6ea
parent2658e2f562cfd1915bd6365509d2c5d078f3ba5f (diff)
Chalice: Modified sbt.bat s.t. JAVA_OPTS are forwarded to the JVM.
-rw-r--r--Chalice/sbt.bat4
1 files changed, 3 insertions, 1 deletions
diff --git a/Chalice/sbt.bat b/Chalice/sbt.bat
index e43e99b9..4c92a4b3 100644
--- a/Chalice/sbt.bat
+++ b/Chalice/sbt.bat
@@ -1,3 +1,5 @@
@ECHO OFF
+SetLocal
+
set SCRIPT_DIR=%~dp0
-java -XX:MaxPermSize=256m -Xmx512M -Xss2M -jar "%SCRIPT_DIR%sbt-launch.jar" %*
+java %JAVA_OPTS% -XX:MaxPermSize=256m -Xmx512M -Xss2M -jar "%SCRIPT_DIR%sbt-launch.jar" %*