2
REM The contents of this file are subject to the Mozilla Public License
3
REM Version 1.1 (the "License"); you may not use this file except in
4
REM compliance with the License. You may obtain a copy of the License at
5
REM http://www.mozilla.org/MPL/
7
REM Software distributed under the License is distributed on an "AS IS"
8
REM basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
9
REM License for the specific language governing rights and limitations
10
REM under the License.
12
REM The Original Code is RabbitMQ.
14
REM The Initial Developers of the Original Code are LShift Ltd,
15
REM Cohesive Financial Technologies LLC, and Rabbit Technologies Ltd.
17
REM Portions created before 22-Nov-2008 00:00:00 GMT by LShift Ltd,
18
REM Cohesive Financial Technologies LLC, or Rabbit Technologies Ltd
19
REM are Copyright (C) 2007-2008 LShift Ltd, Cohesive Financial
20
REM Technologies LLC, and Rabbit Technologies Ltd.
22
REM Portions created by LShift Ltd are Copyright (C) 2007-2010 LShift
23
REM Ltd. Portions created by Cohesive Financial Technologies LLC are
24
REM Copyright (C) 2007-2010 Cohesive Financial Technologies
25
REM LLC. Portions created by Rabbit Technologies Ltd are Copyright
26
REM (C) 2007-2010 Rabbit Technologies Ltd.
28
REM All Rights Reserved.
30
REM Contributor(s): ______________________________________.
2
REM The contents of this file are subject to the Mozilla Public License
3
REM Version 1.1 (the "License"); you may not use this file except in
4
REM compliance with the License. You may obtain a copy of the License
5
REM at http://www.mozilla.org/MPL/
7
REM Software distributed under the License is distributed on an "AS IS"
8
REM basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
9
REM the License for the specific language governing rights and
10
REM limitations under the License.
12
REM The Original Code is RabbitMQ.
14
REM The Initial Developer of the Original Code is VMware, Inc.
15
REM Copyright (c) 2007-2011 VMware, Inc. All rights reserved.
53
38
if "!RABBITMQ_NODE_IP_ADDRESS!"=="" (
54
39
if not "!RABBITMQ_NODE_PORT!"=="" (
55
set RABBITMQ_NODE_IP_ADDRESS=0.0.0.0
40
set RABBITMQ_NODE_IP_ADDRESS=auto
58
43
if "!RABBITMQ_NODE_PORT!"=="" (
117
102
"!ERLANG_HOME!\bin\erl.exe" ^
118
103
-pa "!RABBITMQ_EBIN_ROOT!" ^
119
104
-noinput -hidden ^
120
-s rabbit_plugin_activator ^
105
-s rabbit_prelaunch ^
106
-sname rabbitmqprelaunch!RANDOM! ^
121
107
-extra "!RABBITMQ_PLUGINS_DIR:\=/!" ^
122
"!RABBITMQ_PLUGINS_EXPAND_DIR:\=/!"
108
"!RABBITMQ_PLUGINS_EXPAND_DIR:\=/!" ^
109
"!RABBITMQ_NODENAME!"
124
111
set RABBITMQ_BOOT_FILE=!RABBITMQ_PLUGINS_EXPAND_DIR!\rabbit
125
if not exist "!RABBITMQ_BOOT_FILE!.boot" (
126
echo Custom Boot File "!RABBITMQ_BOOT_FILE!.boot" is missing.