ocean-usergw-service/usergw-service/src/main/assembly/scripts/run.bat
huangsimin b5a19c78cf add: 修改Pom Assembly设置, 完美打包scripts.
fix: test的设置,  使unittest可以根据不同配置变量启动测试
2019-08-15 17:42:04 +08:00

11 lines
243 B
Batchfile

@echo off & setlocal enabledelayedexpansion
set BIN_DIR=%~dp0
::run
cd %BIN_DIR%\..
set APP_JAR=""
for %%f in (*-*-*.jar) do set APP_JAR=%%f
java -Dloader.path=config -Dfile.encoding=UTF-8 -Xms256m -Xmx512m -jar %APP_JAR%
cd %BIN_DIR%