Add resources to batch file classpath and clean up a bit
This commit is contained in:
parent
7c00277b17
commit
c148c483a2
@ -1,13 +1,14 @@
|
|||||||
@echo off
|
@echo off
|
||||||
setLocal EnableDelayedExpansion
|
setLocal EnableDelayedExpansion
|
||||||
|
|
||||||
set CLASSPATH="
|
set CLASSPATH="
|
||||||
for /R ./lib %%a in (*.jar) do (
|
for %%j in (".\lib\*.jar") do (
|
||||||
set CLASSPATH=!CLASSPATH!;%%a
|
set CLASSPATH=!CLASSPATH!;%%~fj
|
||||||
)
|
)
|
||||||
set CLASSPATH=!CLASSPATH!"
|
set CLASSPATH=!CLASSPATH!"
|
||||||
set CLASSPATH=%CLASSPATH%;src
|
set CLASSPATH=%CLASSPATH%;src;resources
|
||||||
|
|
||||||
set JLINE=jline.ConsoleRunner
|
set JLINE=jline.ConsoleRunner
|
||||||
|
|
||||||
java -Xmx1G -cp "%CLASSPATH%" %JLINE% clojure.main
|
java -Xmx1G -cp %CLASSPATH% %JLINE% clojure.main
|
||||||
|
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
@echo off
|
@echo off
|
||||||
setLocal EnableDelayedExpansion
|
setLocal EnableDelayedExpansion
|
||||||
|
|
||||||
set CLASSPATH="
|
set CLASSPATH="
|
||||||
for /R ./lib %%a in (*.jar) do (
|
for %%j in (".\lib\*.jar") do (
|
||||||
set CLASSPATH=!CLASSPATH!;%%a
|
set CLASSPATH=!CLASSPATH!;%%~fj
|
||||||
)
|
)
|
||||||
set CLASSPATH=!CLASSPATH!"
|
set CLASSPATH=!CLASSPATH!"
|
||||||
set CLASSPATH=%CLASSPATH%;src
|
set CLASSPATH=%CLASSPATH%;src;resources
|
||||||
|
|
||||||
java -Xmx1G -cp "%CLASSPATH%" clojure.main -i script\run.clj
|
java -Xmx1G -cp %CLASSPATH% clojure.main script\run.clj
|
||||||
|
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
@echo off
|
@echo off
|
||||||
setLocal EnableDelayedExpansion
|
setLocal EnableDelayedExpansion
|
||||||
|
|
||||||
set CLASSPATH="
|
set CLASSPATH="
|
||||||
for /R ./lib %%a in (*.jar) do (
|
for %%j in (".\lib\*.jar") do (
|
||||||
set CLASSPATH=!CLASSPATH!;%%a
|
set CLASSPATH=!CLASSPATH!;%%~fj
|
||||||
)
|
)
|
||||||
set CLASSPATH=!CLASSPATH!"
|
set CLASSPATH=!CLASSPATH!"
|
||||||
set CLASSPATH=%CLASSPATH%;src
|
set CLASSPATH=%CLASSPATH%;src;resources
|
||||||
java -Xmx1G -cp "%CLASSPATH%" clojure.main -i script\test.clj
|
|
||||||
|
java -Xmx1G -cp %CLASSPATH% clojure.main script\test.clj
|
||||||
|
Loading…
Reference in New Issue
Block a user