You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ar...@apache.org on 2008/08/14 14:53:54 UTC

svn commit: r685874 - /incubator/qpid/trunk/qpid/java/broker/bin/qpid-server.bat

Author: arnaudsimon
Date: Thu Aug 14 05:53:52 2008
New Revision: 685874

URL: http://svn.apache.org/viewvc?rev=685874&view=rev
Log:
QPID-1239: changed the way QPID_ARGS is set

Modified:
    incubator/qpid/trunk/qpid/java/broker/bin/qpid-server.bat

Modified: incubator/qpid/trunk/qpid/java/broker/bin/qpid-server.bat
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/broker/bin/qpid-server.bat?rev=685874&r1=685873&r2=685874&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/broker/bin/qpid-server.bat (original)
+++ incubator/qpid/trunk/qpid/java/broker/bin/qpid-server.bat Thu Aug 14 05:53:52 2008
@@ -81,10 +81,12 @@
 :afterQpidClasspath
 
 REM start parsing -run arguments
+set QPID_ARGS=
 if "%1" == "" goto endRunArgs
 :runLoop
 set var=%1
 if "%var:~0,5%" == "-run:" goto runFound
+set QPID_ARGS=%QPID_ARGS% %1 
 :beforeRunShift
 shift
 if not "%1"=="" goto runLoop
@@ -187,16 +189,6 @@
 echo Info: QPID_JAVA_MEM not set. Defaulting to JAVA_MEM %JAVA_MEM%
 :after QpidJavaMem
 
-rem Slurp the command line arguments. This loop allows for an unlimited number
-rem of agruments (up to the command line limit, anyway).
-set QPID_ARGS=%1
-if ""%1""=="""" goto runCommand
-shift
-:loop
-if ""%1""=="""" goto runCommand
-set QPID_ARGS=%QPID_ARGS% %1
-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