activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1502244 - in /activemq/trunk/assembly/src/release/bin: win32/InstallService.bat win32/UninstallService.bat win64/InstallService.bat win64/UninstallService.bat
Date Thu, 11 Jul 2013 15:19:45 GMT
Author: tabish
Date: Thu Jul 11 15:19:45 2013
New Revision: 1502244

URL: http://svn.apache.org/r1502244
Log:
fix for: https://issues.apache.org/jira/browse/AMQ-4623

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

Modified:
    activemq/trunk/assembly/src/release/bin/win32/InstallService.bat
    activemq/trunk/assembly/src/release/bin/win32/UninstallService.bat
    activemq/trunk/assembly/src/release/bin/win64/InstallService.bat
    activemq/trunk/assembly/src/release/bin/win64/UninstallService.bat

Modified: activemq/trunk/assembly/src/release/bin/win32/InstallService.bat
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/release/bin/win32/InstallService.bat?rev=1502244&r1=1502243&r2=1502244&view=diff
==============================================================================
--- activemq/trunk/assembly/src/release/bin/win32/InstallService.bat (original)
+++ activemq/trunk/assembly/src/release/bin/win32/InstallService.bat Thu Jul 11 15:19:45 2013
@@ -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
 

Modified: activemq/trunk/assembly/src/release/bin/win32/UninstallService.bat
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/release/bin/win32/UninstallService.bat?rev=1502244&r1=1502243&r2=1502244&view=diff
==============================================================================
--- activemq/trunk/assembly/src/release/bin/win32/UninstallService.bat (original)
+++ activemq/trunk/assembly/src/release/bin/win32/UninstallService.bat Thu Jul 11 15:19:45
2013
@@ -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
 

Modified: activemq/trunk/assembly/src/release/bin/win64/InstallService.bat
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/release/bin/win64/InstallService.bat?rev=1502244&r1=1502243&r2=1502244&view=diff
==============================================================================
--- activemq/trunk/assembly/src/release/bin/win64/InstallService.bat (original)
+++ activemq/trunk/assembly/src/release/bin/win64/InstallService.bat Thu Jul 11 15:19:45 2013
@@ -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
 

Modified: activemq/trunk/assembly/src/release/bin/win64/UninstallService.bat
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/release/bin/win64/UninstallService.bat?rev=1502244&r1=1502243&r2=1502244&view=diff
==============================================================================
--- activemq/trunk/assembly/src/release/bin/win64/UninstallService.bat (original)
+++ activemq/trunk/assembly/src/release/bin/win64/UninstallService.bat Thu Jul 11 15:19:45
2013
@@ -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
 



Mime
View raw message