summaryrefslogtreecommitdiff
path: root/scripts/rabbitmq-activate-plugins.bat
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-10-30 12:33:25 +0000
committerMatthew Sackman <matthew@lshift.net>2009-10-30 12:33:25 +0000
commitf1c04a6dcdb0cff53eee637eeb4fcdd540c2fa5b (patch)
treed0900881307a6853119465ec76471274d2836e2f /scripts/rabbitmq-activate-plugins.bat
parent10a3d6a573a168d6df8ae59fe315215ec70949cc (diff)
parent3394efabb87ad14d20a8df7bd681345658594e09 (diff)
downloadrabbitmq-server-git-f1c04a6dcdb0cff53eee637eeb4fcdd540c2fa5b.tar.gz
merging in from default
Diffstat (limited to 'scripts/rabbitmq-activate-plugins.bat')
-rw-r--r--scripts/rabbitmq-activate-plugins.bat19
1 files changed, 15 insertions, 4 deletions
diff --git a/scripts/rabbitmq-activate-plugins.bat b/scripts/rabbitmq-activate-plugins.bat
index 3540bf2d9b..e7aa709544 100644
--- a/scripts/rabbitmq-activate-plugins.bat
+++ b/scripts/rabbitmq-activate-plugins.bat
@@ -30,6 +30,8 @@ REM
REM Contributor(s): ______________________________________.
REM
+setlocal
+
if not exist "%ERLANG_HOME%\bin\erl.exe" (
echo.
echo ******************************
@@ -42,8 +44,17 @@ if not exist "%ERLANG_HOME%\bin\erl.exe" (
exit /B
)
-set RABBITMQ_PLUGINS_DIR="%~dp0..\plugins"
-set RABBITMQ_PLUGINS_EXPAND_DIR="%~dp0..\priv\plugins"
-set RABBITMQ_EBIN_DIR="%~dp0..\ebin"
+set RABBITMQ_PLUGINS_DIR=%~dp0..\plugins
+set RABBITMQ_PLUGINS_EXPAND_DIR=%~dp0..\priv\plugins
+set RABBITMQ_EBIN_DIR=%~dp0..\ebin
+
+"%ERLANG_HOME%\bin\erl.exe" ^
+-pa "%RABBITMQ_EBIN_DIR%" ^
+-noinput -hidden ^
+-s rabbit_plugin_activator ^
+-rabbit plugins_dir \""%RABBITMQ_PLUGINS_DIR:\=/%"\" ^
+-rabbit plugins_expand_dir \""%RABBITMQ_PLUGINS_EXPAND_DIR:\=/%"\" ^
+-rabbit rabbit_ebin \""%RABBITMQ_EBIN_DIR:\=/%"\" ^
+-extra %*
-"%ERLANG_HOME%\bin\erl.exe" -pa "%~dp0..\ebin" -noinput -hidden -s rabbit_plugin_activator -rabbit plugins_dir \"%RABBITMQ_PLUGINS_DIR:\=/%\" -rabbit plugins_expand_dir \"%RABBITMQ_PLUGINS_EXPAND_DIR:\=/%\" -rabbit rabbit_ebin \"%RABBITMQ_EBIN_DIR:\=/%\" -extra %*
+endlocal