start.bat

Raod 3 years ago
parent 5725df8827
commit e176f81a0f

1
.gitignore vendored

@ -7,3 +7,4 @@ target
dist
logs
cache
build

@ -1,12 +1,12 @@
@echo off & setlocal enabledelayedexpansion
set LIB_JARS=""
cd ..\lib
for %%i in (*) do set LIB_JARS=!LIB_JARS!;..\lib\%%i
cd ..\bin
set JAVA_OPTS=" -server -Xmx2g -Xms2g -Xmn256m -XX:PermSize=128m -Xss256k "
java -Xbootclasspath/a:%LIB_JARS% %JAVA_OPTS% -jar -Dspring.config.location=..\conf\bootstrap-dev.yml ..\lib\report-core-1.0.0-SNAPSHOT.jar
pause
@echo off & setlocal enabledelayedexpansion
set LIB_JARS=""
cd ..\lib
for %%i in (*) do set LIB_JARS=!LIB_JARS!;..\lib\%%i
cd ..\bin
set JAVA_OPTS=" -server -Xmx2g -Xms2g -Xmn256m -XX:PermSize=128m -Xss256k "
java -jar -Dspring.config.location=..\conf\bootstrap-dev.yml ..\lib\report-core-1.0.0-SNAPSHOT.jar -Xbootclasspath/a:%LIB_JARS% %JAVA_OPTS%
pause

Loading…
Cancel
Save