You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ri...@apache.org on 2007/01/25 15:39:47 UTC
svn commit: r499805 -
/incubator/qpid/branches/perftesting/qpid/java/broker/bin/qpid-server.bat
Author: ritchiem
Date: Thu Jan 25 06:39:46 2007
New Revision: 499805
URL: http://svn.apache.org/viewvc?view=rev&rev=499805
Log:
Revision: 495255
Author: marnie
Date: 15:33:01, 11 January 2007
Message:
Added QPID_OPTS var to command line to allow passing of useful -D props including mgt console required values. QPID-168 applies.
----
Modified : /incubator/qpid/trunk/qpid/java/broker/bin/qpid-server.bat
Modified:
incubator/qpid/branches/perftesting/qpid/java/broker/bin/qpid-server.bat
Modified: incubator/qpid/branches/perftesting/qpid/java/broker/bin/qpid-server.bat
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/perftesting/qpid/java/broker/bin/qpid-server.bat?view=diff&rev=499805&r1=499804&r2=499805
==============================================================================
--- incubator/qpid/branches/perftesting/qpid/java/broker/bin/qpid-server.bat (original)
+++ incubator/qpid/branches/perftesting/qpid/java/broker/bin/qpid-server.bat Thu Jan 25 06:39:46 2007
@@ -17,7 +17,7 @@
@REM under the License.
@REM
-@echo off
+echo off
REM Script to run the Qpid Java Broker
rem Guess QPID_HOME if not defined
@@ -60,9 +60,11 @@
shift
goto loop
+rem QPID_OPTS intended to hold any -D props for use
+rem user must enclose any value for QPID_OPTS in double quotes
:runCommand
set LAUNCH_JAR=%QPID_HOME%\lib\qpid-incubating.jar
set MODULE_JARS=%QPID_MODULE_JARS%
-"%JAVA_HOME%\bin\java" -server -Xmx1024m -DQPID_HOME="%QPID_HOME%" -cp "%LAUNCH_JAR%;%MODULE_JARS%" org.apache.qpid.server.Main %QPID_ARGS%
+"%JAVA_HOME%\bin\java" -server -Xmx1024m %QPID_OPTS% -DQPID_HOME="%QPID_HOME%" -cp "%LAUNCH_JAR%;%MODULE_JARS%" org.apache.qpid.server.Main %QPID_ARGS%
:end