Commit 399b2e74 authored by wanghao's avatar wanghao

1调整打包方式

parent c095d76e
...@@ -31,7 +31,7 @@ if exist "%CONFIG_LOCATION%application-dev.yml" ( ...@@ -31,7 +31,7 @@ if exist "%CONFIG_LOCATION%application-dev.yml" (
) )
echo Starting application with test profile... echo Starting application with test profile...
java %JAVA_OPTS% -jar "lib/%APP_NAME%" --spring.config.location=file:%CONFIG_LOCATION% --spring.profiles.active=test java %JAVA_OPTS% -jar "lib/%APP_NAME%" --spring.config.location=file:%CONFIG_LOCATION% --spring.profiles.active=dev
if %ERRORLEVEL% NEQ 0 ( if %ERRORLEVEL% NEQ 0 (
echo Failed to start %APP_NAME% echo Failed to start %APP_NAME%
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment