start.bat

This commit is contained in:
Raod 2021-07-20 11:40:42 +08:00
parent 5725df8827
commit e176f81a0f
2 changed files with 13 additions and 12 deletions

1
.gitignore vendored
View File

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

View File

@ -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