leiningen/resources/script-template.bat
Matjaz Gregoric 6cdd04949d Switch from JAVA_OPTS to JVM_OPTS in windows batch scripts.
Keep JAVA_OPTS for backwards compatibility.
2010-12-25 09:41:49 +01:00

11 lines
274 B
Batchfile

@echo off
rem This script was automatically generated by Leiningen.
setLocal
if "x%%JVM_OPTS%%" == "x" set JVM_OPTS=%%JAVA_OPTS%%
set CLASSPATH="%s"
java -cp "%%CLASSPATH%%" %%JVM_OPTS%% ^
clojure.main -e "(use '%s)(apply -main *command-line-args*)" NUL %%*