mirror of https://github.com/apache/activemq.git
Use the configured _REALPATH variable to execute wrapper.exe so that it can be run either in console or from double click in explorer. Tested on Windows 7 x64 git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1502244 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
74ba0529d2
commit
25028b0bba
|
@ -46,7 +46,7 @@ rem
|
|||
rem Install the Wrapper as an NT service.
|
||||
rem
|
||||
:startup
|
||||
"wrapper.exe" -i %_WRAPPER_CONF% %_ACTIVEMQ_HOME% %_ACTIVEMQ_BASE%
|
||||
"%_REALPATH%wrapper.exe" -i %_WRAPPER_CONF% %_ACTIVEMQ_HOME% %_ACTIVEMQ_BASE%
|
||||
if not errorlevel 1 goto :eof
|
||||
pause
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ rem
|
|||
rem Uninstall the Wrapper as an NT service.
|
||||
rem
|
||||
:startup
|
||||
"%_APP_HOME%wrapper.exe" -r %_WRAPPER_CONF%
|
||||
"%_REALPATH%wrapper.exe" -r %_WRAPPER_CONF%
|
||||
if not errorlevel 1 goto :eof
|
||||
pause
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ rem
|
|||
rem Install the Wrapper as an NT service.
|
||||
rem
|
||||
:startup
|
||||
"wrapper.exe" -i %_WRAPPER_CONF% %_ACTIVEMQ_HOME% %_ACTIVEMQ_BASE%
|
||||
"%_REALPATH%wrapper.exe" -i %_WRAPPER_CONF% %_ACTIVEMQ_HOME% %_ACTIVEMQ_BASE%
|
||||
if not errorlevel 1 goto :eof
|
||||
pause
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ rem
|
|||
rem Uninstall the Wrapper as an NT service.
|
||||
rem
|
||||
:startup
|
||||
"%_APP_HOME%wrapper.exe" -r %_WRAPPER_CONF%
|
||||
"%_REALPATH%wrapper.exe" -r %_WRAPPER_CONF%
|
||||
if not errorlevel 1 goto :eof
|
||||
pause
|
||||
|
||||
|
|
Loading…
Reference in New Issue