From e176f81a0fc987f6328554afeb6fe0f861279852 Mon Sep 17 00:00:00 2001 From: Raod <1130305001@qq.com> Date: Tue, 20 Jul 2021 11:40:42 +0800 Subject: [PATCH] start.bat --- .gitignore | 1 + report-core/src/main/assembly/bin/start.bat | 24 ++++++++++----------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 344f1b58..dfd441fd 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ target dist logs cache +build diff --git a/report-core/src/main/assembly/bin/start.bat b/report-core/src/main/assembly/bin/start.bat index e50b1bc0..7671c15f 100755 --- a/report-core/src/main/assembly/bin/start.bat +++ b/report-core/src/main/assembly/bin/start.bat @@ -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 \ No newline at end of file +@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