diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2010-08-06 17:06:06 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2010-08-06 17:06:06 +0100 |
commit | c204bb4766cca2fdfcb01ec8255e72308410734d (patch) | |
tree | 2338a14b6257f126243b7dca59b785f951e624eb /scripts | |
parent | d046acc47ebf16ad291097f78c0674dfe01f1078 (diff) | |
download | rabbitmq-server-c204bb4766cca2fdfcb01ec8255e72308410734d.tar.gz |
Unpack plugins into appdata on Windows.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/rabbitmq-server.bat | 5 | ||||
-rw-r--r-- | scripts/rabbitmq-service.bat | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/scripts/rabbitmq-server.bat b/scripts/rabbitmq-server.bat index 8d17fd13..70c5629d 100644 --- a/scripts/rabbitmq-server.bat +++ b/scripts/rabbitmq-server.bat @@ -108,9 +108,12 @@ if "!RABBITMQ_MNESIA_DIR!"=="" ( )
set RABBITMQ_PLUGINS_DIR=!TDP0!..\plugins
-set RABBITMQ_PLUGINS_EXPAND_DIR=!TDP0!..\priv\plugins
set RABBITMQ_EBIN_ROOT=!TDP0!..\ebin
+if "!RABBITMQ_PLUGINS_EXPAND_DIR!"=="" (
+ set RABBITMQ_MNESIA_DIR=!RABBITMQ_BASE!\priv\plugins
+)
+
"!ERLANG_HOME!\bin\erl.exe" ^
-pa "!RABBITMQ_EBIN_ROOT!" ^
-noinput -hidden ^
diff --git a/scripts/rabbitmq-service.bat b/scripts/rabbitmq-service.bat index 1bc5ec3b..9489ad8a 100644 --- a/scripts/rabbitmq-service.bat +++ b/scripts/rabbitmq-service.bat @@ -178,9 +178,12 @@ if errorlevel 1 ( )
set RABBITMQ_PLUGINS_DIR=!TDP0!..\plugins
-set RABBITMQ_PLUGINS_EXPAND_DIR=!TDP0!..\priv\plugins
set RABBITMQ_EBIN_ROOT=!TDP0!..\ebin
+if "!RABBITMQ_PLUGINS_EXPAND_DIR!"=="" (
+ set RABBITMQ_MNESIA_DIR=!RABBITMQ_BASE!\priv\plugins
+)
+
"!ERLANG_HOME!\bin\erl.exe" ^
-pa "!RABBITMQ_EBIN_ROOT!" ^
-noinput -hidden ^
|