start.bat

Raod 3 years ago
parent 5725df8827
commit e176f81a0f

1
.gitignore vendored

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

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

Loading…
Cancel
Save