KEYCLOAK-18364 start-up with kc.bat fails if folder name includes space

This commit is contained in:
Yoshiyuki Tabata 2021-06-07 15:08:30 +09:00 committed by Pedro Igor
parent f66354a80e
commit c1cf306b92

View file

@ -19,7 +19,7 @@ if "%OS%" == "Windows_NT" (
set DIRNAME=.\ set DIRNAME=.\
) )
set "SERVER_OPTS=-Dkc.home.dir=%DIRNAME%.. -Djboss.server.config.dir=%DIRNAME%..\conf -Dkeycloak.theme.dir=%DIRNAME%..\themes -Djava.util.logging.manager=org.jboss.logmanager.LogManager" set "SERVER_OPTS=-Djava.util.logging.manager=org.jboss.logmanager.LogManager"
set DEBUG_MODE=false set DEBUG_MODE=false
set DEBUG_PORT_VAR=8787 set DEBUG_PORT_VAR=8787
@ -105,6 +105,6 @@ if "x%JAVA_HOME%" == "x" (
set "CLASSPATH_OPTS=%DIRNAME%..\lib\quarkus-run.jar;%DIRNAME%..\lib\lib\main\*.*" set "CLASSPATH_OPTS=%DIRNAME%..\lib\quarkus-run.jar;%DIRNAME%..\lib\lib\main\*.*"
"%JAVA%" %JAVA_OPTS% %SERVER_OPTS% -cp %CLASSPATH_OPTS% io.quarkus.bootstrap.runner.QuarkusEntryPoint %CONFIG_ARGS% "%JAVA%" %JAVA_OPTS% -Dkc.home.dir="%DIRNAME%.." -Djboss.server.config.dir="%DIRNAME%..\conf" -Dkeycloak.theme.dir="%DIRNAME%..\themes" %SERVER_OPTS% -cp "%CLASSPATH_OPTS%" io.quarkus.bootstrap.runner.QuarkusEntryPoint %CONFIG_ARGS%
:END :END