Return-Path: Delivered-To: apmail-geronimo-activemq-commits-archive@www.apache.org Received: (qmail 66762 invoked from network); 21 Feb 2006 23:31:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Feb 2006 23:31:11 -0000 Received: (qmail 75326 invoked by uid 500); 21 Feb 2006 23:31:10 -0000 Delivered-To: apmail-geronimo-activemq-commits-archive@geronimo.apache.org Received: (qmail 75310 invoked by uid 500); 21 Feb 2006 23:31:10 -0000 Mailing-List: contact activemq-commits-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-commits@geronimo.apache.org Received: (qmail 75300 invoked by uid 99); 21 Feb 2006 23:31:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 15:31:10 -0800 X-ASF-Spam-Status: No, hits=-8.2 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,WEIRD_QUOTING X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Feb 2006 15:31:06 -0800 Received: (qmail 66620 invoked by uid 65534); 21 Feb 2006 23:30:46 -0000 Message-ID: <20060221233046.66618.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r379624 - in /incubator/activemq/trunk: assembly/src/release/bin/ jmeter/resource/ Date: Tue, 21 Feb 2006 23:30:43 -0000 To: activemq-commits@geronimo.apache.org From: chirino@apache.org X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: chirino Date: Tue Feb 21 15:30:38 2006 New Revision: 379624 URL: http://svn.apache.org/viewcvs?rev=379624&view=rev Log: did some more svn:eol-style property setting Modified: incubator/activemq/trunk/assembly/src/release/bin/activemq.bat (contents, props changed) incubator/activemq/trunk/assembly/src/release/bin/browse.bat (contents, props changed) incubator/activemq/trunk/assembly/src/release/bin/bstat.bat (contents, props changed) incubator/activemq/trunk/assembly/src/release/bin/lcp.bat (props changed) incubator/activemq/trunk/assembly/src/release/bin/list.bat (contents, props changed) incubator/activemq/trunk/assembly/src/release/bin/query.bat (contents, props changed) incubator/activemq/trunk/assembly/src/release/bin/shutdown.bat (contents, props changed) incubator/activemq/trunk/jmeter/resource/jmeter-n.bat (contents, props changed) incubator/activemq/trunk/jmeter/resource/jmeter-server.bat (contents, props changed) incubator/activemq/trunk/jmeter/resource/jmeter-t.bat (contents, props changed) incubator/activemq/trunk/jmeter/resource/jmeter.bat (contents, props changed) incubator/activemq/trunk/jmeter/resource/jmeterw.bat (contents, props changed) Modified: incubator/activemq/trunk/assembly/src/release/bin/activemq.bat URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/assembly/src/release/bin/activemq.bat?rev=379624&r1=379623&r2=379624&view=diff ============================================================================== --- incubator/activemq/trunk/assembly/src/release/bin/activemq.bat (original) +++ incubator/activemq/trunk/assembly/src/release/bin/activemq.bat Tue Feb 21 15:30:38 2006 @@ -1,119 +1,119 @@ -@echo off - -REM ActiveMQ shell script -REM -REM $Id: activemq.bat,v 1.1.1.1 2005/03/11 21:14:04 jstrachan Exp $ -REM -REM This script is heavily based on the Ant script -REM -REM Copyright 2005-2006 The Apache Software Foundation -REM -REM Licensed under the Apache License, Version 2.0 (the "License"); -REM you may not use this file except in compliance with the License. -REM You may obtain a copy of the License at -REM -REM http://www.apache.org/licenses/LICENSE-2.0 -REM -REM Unless required by applicable law or agreed to in writing, software -REM distributed under the License is distributed on an "AS IS" BASIS, -REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -REM See the License for the specific language governing permissions and -REM limitations under the License. - -if exist "%HOME%\activemqrc_pre.bat" call "%HOME%\activemqrc_pre.bat" - -if "%OS%"=="Windows_NT" @setlocal - -rem %~dp0 is expanded pathname of the current script under NT -set DEFAULT_ACTIVEMQ_HOME=%~dp0.. - -if "%ACTIVEMQ_HOME%"=="" set ACTIVEMQ_HOME=%DEFAULT_ACTIVEMQ_HOME% -set DEFAULT_ACTIVEMQ_HOME= - -rem Slurp the command line arguments. This loop allows for an unlimited number -rem of arguments (up to the command line limit, anyway). -set ACTIVEMQ_CMD_LINE_ARGS=%1 -if ""%1""=="""" goto doneStart -shift -:setupArgs -if ""%1""=="""" goto doneStart -set ACTIVEMQ_CMD_LINE_ARGS=%ACTIVEMQ_CMD_LINE_ARGS% %1 -shift -goto setupArgs -rem This label provides a place for the argument list loop to break out -rem and for NT handling to skip to. - -:doneStart -rem find ACTIVEMQ_HOME if it does not exist due to either an invalid value passed -rem by the user or the %0 problem on Windows 9x -if exist "%ACTIVEMQ_HOME%\README.txt" goto checkJava - -rem check for activemq in Program Files on system drive -if not exist "%SystemDrive%\Program Files\activemq" goto checkSystemDrive -set ACTIVEMQ_HOME=%SystemDrive%\Program Files\activemq -goto checkJava - -:checkSystemDrive -rem check for activemq in root directory of system drive -if not exist %SystemDrive%\activemq\README.txt goto checkCDrive -set ACTIVEMQ_HOME=%SystemDrive%\activemq -goto checkJava - -:checkCDrive -rem check for activemq in C:\activemq for Win9X users -if not exist C:\activemq\README.txt goto noAntHome -set ACTIVEMQ_HOME=C:\activemq -goto checkJava - -:noAntHome -echo ACTIVEMQ_HOME is set incorrectly or activemq could not be located. Please set ACTIVEMQ_HOME. -goto end - -:checkJava -set _JAVACMD=%JAVACMD% -set LOCALCLASSPATH=%CLASSPATH% - -set JAVA_EXT_DIRS=%JAVA_HOME%\lib\ext;%ACTIVEMQ_HOME%;%ACTIVEMQ_HOME%\lib;%ACTIVEMQ_HOME%\lib\optional - -if "%JAVA_HOME%" == "" goto noJavaHome -if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome -if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe -goto runAnt - -:noJavaHome -if "%_JAVACMD%" == "" set _JAVACMD=java.exe -echo. -echo Warning: JAVA_HOME environment variable is not set. -echo. - -:runAnt - -if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true - -set SUNJMX= -REM set SUNJMX=-Dcom.sun.management.jmxremote.port=1616 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false - -REM Uncomment to enable YourKit profiling -REM SET ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent" - -REM Uncomment to enable remote debugging -REM SET ACTIVEMQ_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 - -set LOCALCLASSPATH=%ACTIVEMQ_HOME%\conf;%LOCALCLASSPATH% - -set ACTIVEMQ_TASK="start" -"%_JAVACMD%" %SUNJMX% %ACTIVEMQ_DEBUG_OPTS% %ACTIVEMQ_OPTS% -Dactivemq.home="%ACTIVEMQ_HOME%" -jar %ACTIVEMQ_HOME%/bin/run.jar %ACTIVEMQ_TASK% %ACTIVEMQ_CMD_LINE_ARGS% - -goto end - - -:end -set LOCALCLASSPATH= -set _JAVACMD= -set ACTIVEMQ_CMD_LINE_ARGS= - -if "%OS%"=="Windows_NT" @endlocal - -:mainEnd -if exist "%HOME%\activemqrc_post.bat" call "%HOME%\activemqrc_post.bat" - +@echo off + +REM ActiveMQ shell script +REM +REM $Id: activemq.bat,v 1.1.1.1 2005/03/11 21:14:04 jstrachan Exp $ +REM +REM This script is heavily based on the Ant script +REM +REM Copyright 2005-2006 The Apache Software Foundation +REM +REM Licensed under the Apache License, Version 2.0 (the "License"); +REM you may not use this file except in compliance with the License. +REM You may obtain a copy of the License at +REM +REM http://www.apache.org/licenses/LICENSE-2.0 +REM +REM Unless required by applicable law or agreed to in writing, software +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. + +if exist "%HOME%\activemqrc_pre.bat" call "%HOME%\activemqrc_pre.bat" + +if "%OS%"=="Windows_NT" @setlocal + +rem %~dp0 is expanded pathname of the current script under NT +set DEFAULT_ACTIVEMQ_HOME=%~dp0.. + +if "%ACTIVEMQ_HOME%"=="" set ACTIVEMQ_HOME=%DEFAULT_ACTIVEMQ_HOME% +set DEFAULT_ACTIVEMQ_HOME= + +rem Slurp the command line arguments. This loop allows for an unlimited number +rem of arguments (up to the command line limit, anyway). +set ACTIVEMQ_CMD_LINE_ARGS=%1 +if ""%1""=="""" goto doneStart +shift +:setupArgs +if ""%1""=="""" goto doneStart +set ACTIVEMQ_CMD_LINE_ARGS=%ACTIVEMQ_CMD_LINE_ARGS% %1 +shift +goto setupArgs +rem This label provides a place for the argument list loop to break out +rem and for NT handling to skip to. + +:doneStart +rem find ACTIVEMQ_HOME if it does not exist due to either an invalid value passed +rem by the user or the %0 problem on Windows 9x +if exist "%ACTIVEMQ_HOME%\README.txt" goto checkJava + +rem check for activemq in Program Files on system drive +if not exist "%SystemDrive%\Program Files\activemq" goto checkSystemDrive +set ACTIVEMQ_HOME=%SystemDrive%\Program Files\activemq +goto checkJava + +:checkSystemDrive +rem check for activemq in root directory of system drive +if not exist %SystemDrive%\activemq\README.txt goto checkCDrive +set ACTIVEMQ_HOME=%SystemDrive%\activemq +goto checkJava + +:checkCDrive +rem check for activemq in C:\activemq for Win9X users +if not exist C:\activemq\README.txt goto noAntHome +set ACTIVEMQ_HOME=C:\activemq +goto checkJava + +:noAntHome +echo ACTIVEMQ_HOME is set incorrectly or activemq could not be located. Please set ACTIVEMQ_HOME. +goto end + +:checkJava +set _JAVACMD=%JAVACMD% +set LOCALCLASSPATH=%CLASSPATH% + +set JAVA_EXT_DIRS=%JAVA_HOME%\lib\ext;%ACTIVEMQ_HOME%;%ACTIVEMQ_HOME%\lib;%ACTIVEMQ_HOME%\lib\optional + +if "%JAVA_HOME%" == "" goto noJavaHome +if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe +goto runAnt + +:noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=java.exe +echo. +echo Warning: JAVA_HOME environment variable is not set. +echo. + +:runAnt + +if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true + +set SUNJMX= +REM set SUNJMX=-Dcom.sun.management.jmxremote.port=1616 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false + +REM Uncomment to enable YourKit profiling +REM SET ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent" + +REM Uncomment to enable remote debugging +REM SET ACTIVEMQ_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 + +set LOCALCLASSPATH=%ACTIVEMQ_HOME%\conf;%LOCALCLASSPATH% + +set ACTIVEMQ_TASK="start" +"%_JAVACMD%" %SUNJMX% %ACTIVEMQ_DEBUG_OPTS% %ACTIVEMQ_OPTS% -Dactivemq.home="%ACTIVEMQ_HOME%" -jar %ACTIVEMQ_HOME%/bin/run.jar %ACTIVEMQ_TASK% %ACTIVEMQ_CMD_LINE_ARGS% + +goto end + + +:end +set LOCALCLASSPATH= +set _JAVACMD= +set ACTIVEMQ_CMD_LINE_ARGS= + +if "%OS%"=="Windows_NT" @endlocal + +:mainEnd +if exist "%HOME%\activemqrc_post.bat" call "%HOME%\activemqrc_post.bat" + Propchange: incubator/activemq/trunk/assembly/src/release/bin/activemq.bat ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/assembly/src/release/bin/browse.bat URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/assembly/src/release/bin/browse.bat?rev=379624&r1=379623&r2=379624&view=diff ============================================================================== --- incubator/activemq/trunk/assembly/src/release/bin/browse.bat (original) +++ incubator/activemq/trunk/assembly/src/release/bin/browse.bat Tue Feb 21 15:30:38 2006 @@ -1,115 +1,115 @@ -@echo off - -REM ActiveMQ shell script -REM -REM This script is heavily based on the Ant script -REM -REM Copyright 2005-2006 The Apache Software Foundation -REM -REM Licensed under the Apache License, Version 2.0 (the "License"); -REM you may not use this file except in compliance with the License. -REM You may obtain a copy of the License at -REM -REM http://www.apache.org/licenses/LICENSE-2.0 -REM -REM Unless required by applicable law or agreed to in writing, software -REM distributed under the License is distributed on an "AS IS" BASIS, -REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -REM See the License for the specific language governing permissions and -REM limitations under the License. - -if exist "%HOME%\activemqrc_pre.bat" call "%HOME%\activemqrc_pre.bat" - -if "%OS%"=="Windows_NT" @setlocal - -rem %~dp0 is expanded pathname of the current script under NT -set DEFAULT_ACTIVEMQ_HOME=%~dp0.. - -if "%ACTIVEMQ_HOME%"=="" set ACTIVEMQ_HOME=%DEFAULT_ACTIVEMQ_HOME% -set DEFAULT_ACTIVEMQ_HOME= - -rem Slurp the command line arguments. This loop allows for an unlimited number -rem of arguments (up to the command line limit, anyway). -set ACTIVEMQ_CMD_LINE_ARGS=%1 -if ""%1""=="""" goto doneStart -shift -:setupArgs -if ""%1""=="""" goto doneStart -set ACTIVEMQ_CMD_LINE_ARGS=%ACTIVEMQ_CMD_LINE_ARGS% %1 -shift -goto setupArgs -rem This label provides a place for the argument list loop to break out -rem and for NT handling to skip to. - -:doneStart -rem find ACTIVEMQ_HOME if it does not exist due to either an invalid value passed -rem by the user or the %0 problem on Windows 9x -if exist "%ACTIVEMQ_HOME%\README.txt" goto checkJava - -rem check for activemq in Program Files on system drive -if not exist "%SystemDrive%\Program Files\activemq" goto checkSystemDrive -set ACTIVEMQ_HOME=%SystemDrive%\Program Files\activemq -goto checkJava - -:checkSystemDrive -rem check for activemq in root directory of system drive -if not exist %SystemDrive%\activemq\README.txt goto checkCDrive -set ACTIVEMQ_HOME=%SystemDrive%\activemq -goto checkJava - -:checkCDrive -rem check for activemq in C:\activemq for Win9X users -if not exist C:\activemq\README.txt goto noAntHome -set ACTIVEMQ_HOME=C:\activemq -goto checkJava - -:noAntHome -echo ACTIVEMQ_HOME is set incorrectly or activemq could not be located. Please set ACTIVEMQ_HOME. -goto end - -:checkJava -set _JAVACMD=%JAVACMD% -set LOCALCLASSPATH=%CLASSPATH% - -set JAVA_EXT_DIRS=%JAVA_HOME%\lib\ext;%ACTIVEMQ_HOME%;%ACTIVEMQ_HOME%\lib;%ACTIVEMQ_HOME%\lib\optional - -if "%JAVA_HOME%" == "" goto noJavaHome -if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome -if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe -goto runAnt - -:noJavaHome -if "%_JAVACMD%" == "" set _JAVACMD=java.exe -echo. -echo Warning: JAVA_HOME environment variable is not set. -echo. - -:runAnt - -if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true - -REM Uncomment to enable YourKit profiling -REM SET ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent" - -REM Uncomment to enable remote debugging -REM SET ACTIVEMQ_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 - -set LOCALCLASSPATH=%ACTIVEMQ_HOME%\conf;%LOCALCLASSPATH% - -set ACTIVEMQ_TASK="browse" -"%_JAVACMD%" %ACTIVEMQ_DEBUG_OPTS% %ACTIVEMQ_OPTS% -Djava.ext.dirs="%JAVA_EXT_DIRS%" -classpath "%LOCALCLASSPATH%" -jar %ACTIVEMQ_HOME%/bin/run.jar %ACTIVEMQ_TASK% %ACTIVEMQ_CMD_LINE_ARGS% - - -goto end - - -:end -set LOCALCLASSPATH= -set _JAVACMD= -set ACTIVEMQ_CMD_LINE_ARGS= - -if "%OS%"=="Windows_NT" @endlocal - -:mainEnd -if exist "%HOME%\activemqrc_post.bat" call "%HOME%\activemqrc_post.bat" - +@echo off + +REM ActiveMQ shell script +REM +REM This script is heavily based on the Ant script +REM +REM Copyright 2005-2006 The Apache Software Foundation +REM +REM Licensed under the Apache License, Version 2.0 (the "License"); +REM you may not use this file except in compliance with the License. +REM You may obtain a copy of the License at +REM +REM http://www.apache.org/licenses/LICENSE-2.0 +REM +REM Unless required by applicable law or agreed to in writing, software +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. + +if exist "%HOME%\activemqrc_pre.bat" call "%HOME%\activemqrc_pre.bat" + +if "%OS%"=="Windows_NT" @setlocal + +rem %~dp0 is expanded pathname of the current script under NT +set DEFAULT_ACTIVEMQ_HOME=%~dp0.. + +if "%ACTIVEMQ_HOME%"=="" set ACTIVEMQ_HOME=%DEFAULT_ACTIVEMQ_HOME% +set DEFAULT_ACTIVEMQ_HOME= + +rem Slurp the command line arguments. This loop allows for an unlimited number +rem of arguments (up to the command line limit, anyway). +set ACTIVEMQ_CMD_LINE_ARGS=%1 +if ""%1""=="""" goto doneStart +shift +:setupArgs +if ""%1""=="""" goto doneStart +set ACTIVEMQ_CMD_LINE_ARGS=%ACTIVEMQ_CMD_LINE_ARGS% %1 +shift +goto setupArgs +rem This label provides a place for the argument list loop to break out +rem and for NT handling to skip to. + +:doneStart +rem find ACTIVEMQ_HOME if it does not exist due to either an invalid value passed +rem by the user or the %0 problem on Windows 9x +if exist "%ACTIVEMQ_HOME%\README.txt" goto checkJava + +rem check for activemq in Program Files on system drive +if not exist "%SystemDrive%\Program Files\activemq" goto checkSystemDrive +set ACTIVEMQ_HOME=%SystemDrive%\Program Files\activemq +goto checkJava + +:checkSystemDrive +rem check for activemq in root directory of system drive +if not exist %SystemDrive%\activemq\README.txt goto checkCDrive +set ACTIVEMQ_HOME=%SystemDrive%\activemq +goto checkJava + +:checkCDrive +rem check for activemq in C:\activemq for Win9X users +if not exist C:\activemq\README.txt goto noAntHome +set ACTIVEMQ_HOME=C:\activemq +goto checkJava + +:noAntHome +echo ACTIVEMQ_HOME is set incorrectly or activemq could not be located. Please set ACTIVEMQ_HOME. +goto end + +:checkJava +set _JAVACMD=%JAVACMD% +set LOCALCLASSPATH=%CLASSPATH% + +set JAVA_EXT_DIRS=%JAVA_HOME%\lib\ext;%ACTIVEMQ_HOME%;%ACTIVEMQ_HOME%\lib;%ACTIVEMQ_HOME%\lib\optional + +if "%JAVA_HOME%" == "" goto noJavaHome +if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe +goto runAnt + +:noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=java.exe +echo. +echo Warning: JAVA_HOME environment variable is not set. +echo. + +:runAnt + +if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true + +REM Uncomment to enable YourKit profiling +REM SET ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent" + +REM Uncomment to enable remote debugging +REM SET ACTIVEMQ_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 + +set LOCALCLASSPATH=%ACTIVEMQ_HOME%\conf;%LOCALCLASSPATH% + +set ACTIVEMQ_TASK="browse" +"%_JAVACMD%" %ACTIVEMQ_DEBUG_OPTS% %ACTIVEMQ_OPTS% -Djava.ext.dirs="%JAVA_EXT_DIRS%" -classpath "%LOCALCLASSPATH%" -jar %ACTIVEMQ_HOME%/bin/run.jar %ACTIVEMQ_TASK% %ACTIVEMQ_CMD_LINE_ARGS% + + +goto end + + +:end +set LOCALCLASSPATH= +set _JAVACMD= +set ACTIVEMQ_CMD_LINE_ARGS= + +if "%OS%"=="Windows_NT" @endlocal + +:mainEnd +if exist "%HOME%\activemqrc_post.bat" call "%HOME%\activemqrc_post.bat" + Propchange: incubator/activemq/trunk/assembly/src/release/bin/browse.bat ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/assembly/src/release/bin/bstat.bat URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/assembly/src/release/bin/bstat.bat?rev=379624&r1=379623&r2=379624&view=diff ============================================================================== --- incubator/activemq/trunk/assembly/src/release/bin/bstat.bat (original) +++ incubator/activemq/trunk/assembly/src/release/bin/bstat.bat Tue Feb 21 15:30:38 2006 @@ -1,127 +1,127 @@ -@echo off - -REM ActiveMQ shell script -REM -REM This script is heavily based on the Ant script -REM -REM Copyright 2005-2006 The Apache Software Foundation -REM -REM Licensed under the Apache License, Version 2.0 (the "License"); -REM you may not use this file except in compliance with the License. -REM You may obtain a copy of the License at -REM -REM http://www.apache.org/licenses/LICENSE-2.0 -REM -REM Unless required by applicable law or agreed to in writing, software -REM distributed under the License is distributed on an "AS IS" BASIS, -REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -REM See the License for the specific language governing permissions and -REM limitations under the License. - -if exist "%HOME%\activemqrc_pre.bat" call "%HOME%\activemqrc_pre.bat" - -if "%OS%"=="Windows_NT" @setlocal - -rem %~dp0 is expanded pathname of the current script under NT -set DEFAULT_ACTIVEMQ_HOME=%~dp0.. - -if "%ACTIVEMQ_HOME%"=="" set ACTIVEMQ_HOME=%DEFAULT_ACTIVEMQ_HOME% -set DEFAULT_ACTIVEMQ_HOME= - -rem Assume first parameter is broker name -set BROKER_NAME=%1 -if "%BROKER_NAME%" == "" set BROKER_NAME=* -shift - -rem Slurp the command line arguments. This loop allows for an unlimited number -rem of arguments (up to the command line limit, anyway). - -set ACTIVEMQ_CMD_LINE_ARGS=%1 -if ""%1""=="""" goto doneStart -shift -:setupArgs -if ""%1""=="""" goto doneStart -set ACTIVEMQ_CMD_LINE_ARGS=%ACTIVEMQ_CMD_LINE_ARGS% %1 -shift -goto setupArgs - -rem This label provides a place for the argument list loop to break out -rem and for NT handling to skip to. - -:doneStart -rem find ACTIVEMQ_HOME if it does not exist due to either an invalid value passed -rem by the user or the %0 problem on Windows 9x -if exist "%ACTIVEMQ_HOME%\README.txt" goto checkJava - -rem check for activemq in Program Files on system drive -if not exist "%SystemDrive%\Program Files\activemq" goto checkSystemDrive -set ACTIVEMQ_HOME=%SystemDrive%\Program Files\activemq -goto checkJava - -:checkSystemDrive -rem check for activemq in root directory of system drive -if not exist %SystemDrive%\activemq\README.txt goto checkCDrive -set ACTIVEMQ_HOME=%SystemDrive%\activemq -goto checkJava - -:checkCDrive -rem check for activemq in C:\activemq for Win9X users -if not exist C:\activemq\README.txt goto noAntHome -set ACTIVEMQ_HOME=C:\activemq -goto checkJava - -:noAntHome -echo ACTIVEMQ_HOME is set incorrectly or activemq could not be located. Please set ACTIVEMQ_HOME. -goto end - -:checkJava -set _JAVACMD=%JAVACMD% -set LOCALCLASSPATH=%CLASSPATH% - -set JAVA_EXT_DIRS=%JAVA_HOME%\lib\ext;%ACTIVEMQ_HOME%;%ACTIVEMQ_HOME%\lib;%ACTIVEMQ_HOME%\lib\optional - -if "%JAVA_HOME%" == "" goto noJavaHome -if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome -if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe -goto runAnt - -:noJavaHome -if "%_JAVACMD%" == "" set _JAVACMD=java.exe -echo. -echo Warning: JAVA_HOME environment variable is not set. -echo. - -:runAnt - -if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true - -REM Uncomment to enable YourKit profiling -REM SET ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent" - -REM Uncomment to enable remote debugging -REM SET ACTIVEMQ_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 - -set LOCALCLASSPATH=%ACTIVEMQ_HOME%\conf;%LOCALCLASSPATH% - -set ACTIVEMQ_TASK="query" - -rem Select all components that belongs to the specified broker except advisory topics -rem and display the specified attributes -set QUERY_PARAM=--objname "Type=*,BrokerName=%BROKER_NAME%" "-xQTopic=ActiveMQ.Advisory.*" --view "Type,BrokerName,Destination,ConnectorName,EnqueueCount,DequeueCount,TotalEnqueueCount,TotalDequeueCount,Messages,TotalMessages,ConsumerCount,TotalConsumerCount,DispatchQueueSize" - -"%_JAVACMD%" %ACTIVEMQ_DEBUG_OPTS% %ACTIVEMQ_OPTS% -Djava.ext.dirs="%JAVA_EXT_DIRS%" -classpath "%LOCALCLASSPATH%" -jar %ACTIVEMQ_HOME%/bin/run.jar %ACTIVEMQ_TASK% %QUERY_PARAM% %ACTIVEMQ_CMD_LINE_ARGS% - - -goto end - - -:end -set LOCALCLASSPATH= -set _JAVACMD= -set ACTIVEMQ_CMD_LINE_ARGS= - -if "%OS%"=="Windows_NT" @endlocal - -:mainEnd -if exist "%HOME%\activemqrc_post.bat" call "%HOME%\activemqrc_post.bat" - +@echo off + +REM ActiveMQ shell script +REM +REM This script is heavily based on the Ant script +REM +REM Copyright 2005-2006 The Apache Software Foundation +REM +REM Licensed under the Apache License, Version 2.0 (the "License"); +REM you may not use this file except in compliance with the License. +REM You may obtain a copy of the License at +REM +REM http://www.apache.org/licenses/LICENSE-2.0 +REM +REM Unless required by applicable law or agreed to in writing, software +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. + +if exist "%HOME%\activemqrc_pre.bat" call "%HOME%\activemqrc_pre.bat" + +if "%OS%"=="Windows_NT" @setlocal + +rem %~dp0 is expanded pathname of the current script under NT +set DEFAULT_ACTIVEMQ_HOME=%~dp0.. + +if "%ACTIVEMQ_HOME%"=="" set ACTIVEMQ_HOME=%DEFAULT_ACTIVEMQ_HOME% +set DEFAULT_ACTIVEMQ_HOME= + +rem Assume first parameter is broker name +set BROKER_NAME=%1 +if "%BROKER_NAME%" == "" set BROKER_NAME=* +shift + +rem Slurp the command line arguments. This loop allows for an unlimited number +rem of arguments (up to the command line limit, anyway). + +set ACTIVEMQ_CMD_LINE_ARGS=%1 +if ""%1""=="""" goto doneStart +shift +:setupArgs +if ""%1""=="""" goto doneStart +set ACTIVEMQ_CMD_LINE_ARGS=%ACTIVEMQ_CMD_LINE_ARGS% %1 +shift +goto setupArgs + +rem This label provides a place for the argument list loop to break out +rem and for NT handling to skip to. + +:doneStart +rem find ACTIVEMQ_HOME if it does not exist due to either an invalid value passed +rem by the user or the %0 problem on Windows 9x +if exist "%ACTIVEMQ_HOME%\README.txt" goto checkJava + +rem check for activemq in Program Files on system drive +if not exist "%SystemDrive%\Program Files\activemq" goto checkSystemDrive +set ACTIVEMQ_HOME=%SystemDrive%\Program Files\activemq +goto checkJava + +:checkSystemDrive +rem check for activemq in root directory of system drive +if not exist %SystemDrive%\activemq\README.txt goto checkCDrive +set ACTIVEMQ_HOME=%SystemDrive%\activemq +goto checkJava + +:checkCDrive +rem check for activemq in C:\activemq for Win9X users +if not exist C:\activemq\README.txt goto noAntHome +set ACTIVEMQ_HOME=C:\activemq +goto checkJava + +:noAntHome +echo ACTIVEMQ_HOME is set incorrectly or activemq could not be located. Please set ACTIVEMQ_HOME. +goto end + +:checkJava +set _JAVACMD=%JAVACMD% +set LOCALCLASSPATH=%CLASSPATH% + +set JAVA_EXT_DIRS=%JAVA_HOME%\lib\ext;%ACTIVEMQ_HOME%;%ACTIVEMQ_HOME%\lib;%ACTIVEMQ_HOME%\lib\optional + +if "%JAVA_HOME%" == "" goto noJavaHome +if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe +goto runAnt + +:noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=java.exe +echo. +echo Warning: JAVA_HOME environment variable is not set. +echo. + +:runAnt + +if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true + +REM Uncomment to enable YourKit profiling +REM SET ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent" + +REM Uncomment to enable remote debugging +REM SET ACTIVEMQ_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 + +set LOCALCLASSPATH=%ACTIVEMQ_HOME%\conf;%LOCALCLASSPATH% + +set ACTIVEMQ_TASK="query" + +rem Select all components that belongs to the specified broker except advisory topics +rem and display the specified attributes +set QUERY_PARAM=--objname "Type=*,BrokerName=%BROKER_NAME%" "-xQTopic=ActiveMQ.Advisory.*" --view "Type,BrokerName,Destination,ConnectorName,EnqueueCount,DequeueCount,TotalEnqueueCount,TotalDequeueCount,Messages,TotalMessages,ConsumerCount,TotalConsumerCount,DispatchQueueSize" + +"%_JAVACMD%" %ACTIVEMQ_DEBUG_OPTS% %ACTIVEMQ_OPTS% -Djava.ext.dirs="%JAVA_EXT_DIRS%" -classpath "%LOCALCLASSPATH%" -jar %ACTIVEMQ_HOME%/bin/run.jar %ACTIVEMQ_TASK% %QUERY_PARAM% %ACTIVEMQ_CMD_LINE_ARGS% + + +goto end + + +:end +set LOCALCLASSPATH= +set _JAVACMD= +set ACTIVEMQ_CMD_LINE_ARGS= + +if "%OS%"=="Windows_NT" @endlocal + +:mainEnd +if exist "%HOME%\activemqrc_post.bat" call "%HOME%\activemqrc_post.bat" + Propchange: incubator/activemq/trunk/assembly/src/release/bin/bstat.bat ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/activemq/trunk/assembly/src/release/bin/lcp.bat ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/assembly/src/release/bin/list.bat URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/assembly/src/release/bin/list.bat?rev=379624&r1=379623&r2=379624&view=diff ============================================================================== --- incubator/activemq/trunk/assembly/src/release/bin/list.bat (original) +++ incubator/activemq/trunk/assembly/src/release/bin/list.bat Tue Feb 21 15:30:38 2006 @@ -1,115 +1,115 @@ -@echo off - -REM ActiveMQ shell script -REM -REM This script is heavily based on the Ant script -REM -REM Copyright 2005-2006 The Apache Software Foundation -REM -REM Licensed under the Apache License, Version 2.0 (the "License"); -REM you may not use this file except in compliance with the License. -REM You may obtain a copy of the License at -REM -REM http://www.apache.org/licenses/LICENSE-2.0 -REM -REM Unless required by applicable law or agreed to in writing, software -REM distributed under the License is distributed on an "AS IS" BASIS, -REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -REM See the License for the specific language governing permissions and -REM limitations under the License. - -if exist "%HOME%\activemqrc_pre.bat" call "%HOME%\activemqrc_pre.bat" - -if "%OS%"=="Windows_NT" @setlocal - -rem %~dp0 is expanded pathname of the current script under NT -set DEFAULT_ACTIVEMQ_HOME=%~dp0.. - -if "%ACTIVEMQ_HOME%"=="" set ACTIVEMQ_HOME=%DEFAULT_ACTIVEMQ_HOME% -set DEFAULT_ACTIVEMQ_HOME= - -rem Slurp the command line arguments. This loop allows for an unlimited number -rem of arguments (up to the command line limit, anyway). -set ACTIVEMQ_CMD_LINE_ARGS=%1 -if ""%1""=="""" goto doneStart -shift -:setupArgs -if ""%1""=="""" goto doneStart -set ACTIVEMQ_CMD_LINE_ARGS=%ACTIVEMQ_CMD_LINE_ARGS% %1 -shift -goto setupArgs -rem This label provides a place for the argument list loop to break out -rem and for NT handling to skip to. - -:doneStart -rem find ACTIVEMQ_HOME if it does not exist due to either an invalid value passed -rem by the user or the %0 problem on Windows 9x -if exist "%ACTIVEMQ_HOME%\README.txt" goto checkJava - -rem check for activemq in Program Files on system drive -if not exist "%SystemDrive%\Program Files\activemq" goto checkSystemDrive -set ACTIVEMQ_HOME=%SystemDrive%\Program Files\activemq -goto checkJava - -:checkSystemDrive -rem check for activemq in root directory of system drive -if not exist %SystemDrive%\activemq\README.txt goto checkCDrive -set ACTIVEMQ_HOME=%SystemDrive%\activemq -goto checkJava - -:checkCDrive -rem check for activemq in C:\activemq for Win9X users -if not exist C:\activemq\README.txt goto noAntHome -set ACTIVEMQ_HOME=C:\activemq -goto checkJava - -:noAntHome -echo ACTIVEMQ_HOME is set incorrectly or activemq could not be located. Please set ACTIVEMQ_HOME. -goto end - -:checkJava -set _JAVACMD=%JAVACMD% -set LOCALCLASSPATH=%CLASSPATH% - -set JAVA_EXT_DIRS=%JAVA_HOME%\lib\ext;%ACTIVEMQ_HOME%;%ACTIVEMQ_HOME%\lib;%ACTIVEMQ_HOME%\lib\optional - -if "%JAVA_HOME%" == "" goto noJavaHome -if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome -if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe -goto runAnt - -:noJavaHome -if "%_JAVACMD%" == "" set _JAVACMD=java.exe -echo. -echo Warning: JAVA_HOME environment variable is not set. -echo. - -:runAnt - -if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true - -REM Uncomment to enable YourKit profiling -REM SET ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent" - -REM Uncomment to enable remote debugging -REM SET ACTIVEMQ_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 - -set LOCALCLASSPATH=%ACTIVEMQ_HOME%\conf;%LOCALCLASSPATH% - -set ACTIVEMQ_TASK="list" -"%_JAVACMD%" %ACTIVEMQ_DEBUG_OPTS% %ACTIVEMQ_OPTS% -Djava.ext.dirs="%JAVA_EXT_DIRS%" -classpath "%LOCALCLASSPATH%" -jar %ACTIVEMQ_HOME%/bin/run.jar %ACTIVEMQ_TASK% %ACTIVEMQ_CMD_LINE_ARGS% - - -goto end - - -:end -set LOCALCLASSPATH= -set _JAVACMD= -set ACTIVEMQ_CMD_LINE_ARGS= - -if "%OS%"=="Windows_NT" @endlocal - -:mainEnd -if exist "%HOME%\activemqrc_post.bat" call "%HOME%\activemqrc_post.bat" - +@echo off + +REM ActiveMQ shell script +REM +REM This script is heavily based on the Ant script +REM +REM Copyright 2005-2006 The Apache Software Foundation +REM +REM Licensed under the Apache License, Version 2.0 (the "License"); +REM you may not use this file except in compliance with the License. +REM You may obtain a copy of the License at +REM +REM http://www.apache.org/licenses/LICENSE-2.0 +REM +REM Unless required by applicable law or agreed to in writing, software +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. + +if exist "%HOME%\activemqrc_pre.bat" call "%HOME%\activemqrc_pre.bat" + +if "%OS%"=="Windows_NT" @setlocal + +rem %~dp0 is expanded pathname of the current script under NT +set DEFAULT_ACTIVEMQ_HOME=%~dp0.. + +if "%ACTIVEMQ_HOME%"=="" set ACTIVEMQ_HOME=%DEFAULT_ACTIVEMQ_HOME% +set DEFAULT_ACTIVEMQ_HOME= + +rem Slurp the command line arguments. This loop allows for an unlimited number +rem of arguments (up to the command line limit, anyway). +set ACTIVEMQ_CMD_LINE_ARGS=%1 +if ""%1""=="""" goto doneStart +shift +:setupArgs +if ""%1""=="""" goto doneStart +set ACTIVEMQ_CMD_LINE_ARGS=%ACTIVEMQ_CMD_LINE_ARGS% %1 +shift +goto setupArgs +rem This label provides a place for the argument list loop to break out +rem and for NT handling to skip to. + +:doneStart +rem find ACTIVEMQ_HOME if it does not exist due to either an invalid value passed +rem by the user or the %0 problem on Windows 9x +if exist "%ACTIVEMQ_HOME%\README.txt" goto checkJava + +rem check for activemq in Program Files on system drive +if not exist "%SystemDrive%\Program Files\activemq" goto checkSystemDrive +set ACTIVEMQ_HOME=%SystemDrive%\Program Files\activemq +goto checkJava + +:checkSystemDrive +rem check for activemq in root directory of system drive +if not exist %SystemDrive%\activemq\README.txt goto checkCDrive +set ACTIVEMQ_HOME=%SystemDrive%\activemq +goto checkJava + +:checkCDrive +rem check for activemq in C:\activemq for Win9X users +if not exist C:\activemq\README.txt goto noAntHome +set ACTIVEMQ_HOME=C:\activemq +goto checkJava + +:noAntHome +echo ACTIVEMQ_HOME is set incorrectly or activemq could not be located. Please set ACTIVEMQ_HOME. +goto end + +:checkJava +set _JAVACMD=%JAVACMD% +set LOCALCLASSPATH=%CLASSPATH% + +set JAVA_EXT_DIRS=%JAVA_HOME%\lib\ext;%ACTIVEMQ_HOME%;%ACTIVEMQ_HOME%\lib;%ACTIVEMQ_HOME%\lib\optional + +if "%JAVA_HOME%" == "" goto noJavaHome +if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe +goto runAnt + +:noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=java.exe +echo. +echo Warning: JAVA_HOME environment variable is not set. +echo. + +:runAnt + +if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true + +REM Uncomment to enable YourKit profiling +REM SET ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent" + +REM Uncomment to enable remote debugging +REM SET ACTIVEMQ_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 + +set LOCALCLASSPATH=%ACTIVEMQ_HOME%\conf;%LOCALCLASSPATH% + +set ACTIVEMQ_TASK="list" +"%_JAVACMD%" %ACTIVEMQ_DEBUG_OPTS% %ACTIVEMQ_OPTS% -Djava.ext.dirs="%JAVA_EXT_DIRS%" -classpath "%LOCALCLASSPATH%" -jar %ACTIVEMQ_HOME%/bin/run.jar %ACTIVEMQ_TASK% %ACTIVEMQ_CMD_LINE_ARGS% + + +goto end + + +:end +set LOCALCLASSPATH= +set _JAVACMD= +set ACTIVEMQ_CMD_LINE_ARGS= + +if "%OS%"=="Windows_NT" @endlocal + +:mainEnd +if exist "%HOME%\activemqrc_post.bat" call "%HOME%\activemqrc_post.bat" + Propchange: incubator/activemq/trunk/assembly/src/release/bin/list.bat ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/assembly/src/release/bin/query.bat URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/assembly/src/release/bin/query.bat?rev=379624&r1=379623&r2=379624&view=diff ============================================================================== --- incubator/activemq/trunk/assembly/src/release/bin/query.bat (original) +++ incubator/activemq/trunk/assembly/src/release/bin/query.bat Tue Feb 21 15:30:38 2006 @@ -1,115 +1,115 @@ -@echo off - -REM ActiveMQ shell script -REM -REM This script is heavily based on the Ant script -REM -REM Copyright 2005-2006 The Apache Software Foundation -REM -REM Licensed under the Apache License, Version 2.0 (the "License"); -REM you may not use this file except in compliance with the License. -REM You may obtain a copy of the License at -REM -REM http://www.apache.org/licenses/LICENSE-2.0 -REM -REM Unless required by applicable law or agreed to in writing, software -REM distributed under the License is distributed on an "AS IS" BASIS, -REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -REM See the License for the specific language governing permissions and -REM limitations under the License. - -if exist "%HOME%\activemqrc_pre.bat" call "%HOME%\activemqrc_pre.bat" - -if "%OS%"=="Windows_NT" @setlocal - -rem %~dp0 is expanded pathname of the current script under NT -set DEFAULT_ACTIVEMQ_HOME=%~dp0.. - -if "%ACTIVEMQ_HOME%"=="" set ACTIVEMQ_HOME=%DEFAULT_ACTIVEMQ_HOME% -set DEFAULT_ACTIVEMQ_HOME= - -rem Slurp the command line arguments. This loop allows for an unlimited number -rem of arguments (up to the command line limit, anyway). -set ACTIVEMQ_CMD_LINE_ARGS=%1 -if ""%1""=="""" goto doneStart -shift -:setupArgs -if ""%1""=="""" goto doneStart -set ACTIVEMQ_CMD_LINE_ARGS=%ACTIVEMQ_CMD_LINE_ARGS% %1 -shift -goto setupArgs -rem This label provides a place for the argument list loop to break out -rem and for NT handling to skip to. - -:doneStart -rem find ACTIVEMQ_HOME if it does not exist due to either an invalid value passed -rem by the user or the %0 problem on Windows 9x -if exist "%ACTIVEMQ_HOME%\README.txt" goto checkJava - -rem check for activemq in Program Files on system drive -if not exist "%SystemDrive%\Program Files\activemq" goto checkSystemDrive -set ACTIVEMQ_HOME=%SystemDrive%\Program Files\activemq -goto checkJava - -:checkSystemDrive -rem check for activemq in root directory of system drive -if not exist %SystemDrive%\activemq\README.txt goto checkCDrive -set ACTIVEMQ_HOME=%SystemDrive%\activemq -goto checkJava - -:checkCDrive -rem check for activemq in C:\activemq for Win9X users -if not exist C:\activemq\README.txt goto noAntHome -set ACTIVEMQ_HOME=C:\activemq -goto checkJava - -:noAntHome -echo ACTIVEMQ_HOME is set incorrectly or activemq could not be located. Please set ACTIVEMQ_HOME. -goto end - -:checkJava -set _JAVACMD=%JAVACMD% -set LOCALCLASSPATH=%CLASSPATH% - -set JAVA_EXT_DIRS=%JAVA_HOME%\lib\ext;%ACTIVEMQ_HOME%;%ACTIVEMQ_HOME%\lib;%ACTIVEMQ_HOME%\lib\optional - -if "%JAVA_HOME%" == "" goto noJavaHome -if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome -if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe -goto runAnt - -:noJavaHome -if "%_JAVACMD%" == "" set _JAVACMD=java.exe -echo. -echo Warning: JAVA_HOME environment variable is not set. -echo. - -:runAnt - -if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true - -REM Uncomment to enable YourKit profiling -REM SET ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent" - -REM Uncomment to enable remote debugging -REM SET ACTIVEMQ_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 - -set LOCALCLASSPATH=%ACTIVEMQ_HOME%\conf;%LOCALCLASSPATH% - -set ACTIVEMQ_TASK="query" -"%_JAVACMD%" %ACTIVEMQ_DEBUG_OPTS% %ACTIVEMQ_OPTS% -Djava.ext.dirs="%JAVA_EXT_DIRS%" -classpath "%LOCALCLASSPATH%" -jar %ACTIVEMQ_HOME%/bin/run.jar %ACTIVEMQ_TASK% %ACTIVEMQ_CMD_LINE_ARGS% - - -goto end - - -:end -set LOCALCLASSPATH= -set _JAVACMD= -set ACTIVEMQ_CMD_LINE_ARGS= - -if "%OS%"=="Windows_NT" @endlocal - -:mainEnd -if exist "%HOME%\activemqrc_post.bat" call "%HOME%\activemqrc_post.bat" - +@echo off + +REM ActiveMQ shell script +REM +REM This script is heavily based on the Ant script +REM +REM Copyright 2005-2006 The Apache Software Foundation +REM +REM Licensed under the Apache License, Version 2.0 (the "License"); +REM you may not use this file except in compliance with the License. +REM You may obtain a copy of the License at +REM +REM http://www.apache.org/licenses/LICENSE-2.0 +REM +REM Unless required by applicable law or agreed to in writing, software +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. + +if exist "%HOME%\activemqrc_pre.bat" call "%HOME%\activemqrc_pre.bat" + +if "%OS%"=="Windows_NT" @setlocal + +rem %~dp0 is expanded pathname of the current script under NT +set DEFAULT_ACTIVEMQ_HOME=%~dp0.. + +if "%ACTIVEMQ_HOME%"=="" set ACTIVEMQ_HOME=%DEFAULT_ACTIVEMQ_HOME% +set DEFAULT_ACTIVEMQ_HOME= + +rem Slurp the command line arguments. This loop allows for an unlimited number +rem of arguments (up to the command line limit, anyway). +set ACTIVEMQ_CMD_LINE_ARGS=%1 +if ""%1""=="""" goto doneStart +shift +:setupArgs +if ""%1""=="""" goto doneStart +set ACTIVEMQ_CMD_LINE_ARGS=%ACTIVEMQ_CMD_LINE_ARGS% %1 +shift +goto setupArgs +rem This label provides a place for the argument list loop to break out +rem and for NT handling to skip to. + +:doneStart +rem find ACTIVEMQ_HOME if it does not exist due to either an invalid value passed +rem by the user or the %0 problem on Windows 9x +if exist "%ACTIVEMQ_HOME%\README.txt" goto checkJava + +rem check for activemq in Program Files on system drive +if not exist "%SystemDrive%\Program Files\activemq" goto checkSystemDrive +set ACTIVEMQ_HOME=%SystemDrive%\Program Files\activemq +goto checkJava + +:checkSystemDrive +rem check for activemq in root directory of system drive +if not exist %SystemDrive%\activemq\README.txt goto checkCDrive +set ACTIVEMQ_HOME=%SystemDrive%\activemq +goto checkJava + +:checkCDrive +rem check for activemq in C:\activemq for Win9X users +if not exist C:\activemq\README.txt goto noAntHome +set ACTIVEMQ_HOME=C:\activemq +goto checkJava + +:noAntHome +echo ACTIVEMQ_HOME is set incorrectly or activemq could not be located. Please set ACTIVEMQ_HOME. +goto end + +:checkJava +set _JAVACMD=%JAVACMD% +set LOCALCLASSPATH=%CLASSPATH% + +set JAVA_EXT_DIRS=%JAVA_HOME%\lib\ext;%ACTIVEMQ_HOME%;%ACTIVEMQ_HOME%\lib;%ACTIVEMQ_HOME%\lib\optional + +if "%JAVA_HOME%" == "" goto noJavaHome +if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe +goto runAnt + +:noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=java.exe +echo. +echo Warning: JAVA_HOME environment variable is not set. +echo. + +:runAnt + +if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true + +REM Uncomment to enable YourKit profiling +REM SET ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent" + +REM Uncomment to enable remote debugging +REM SET ACTIVEMQ_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 + +set LOCALCLASSPATH=%ACTIVEMQ_HOME%\conf;%LOCALCLASSPATH% + +set ACTIVEMQ_TASK="query" +"%_JAVACMD%" %ACTIVEMQ_DEBUG_OPTS% %ACTIVEMQ_OPTS% -Djava.ext.dirs="%JAVA_EXT_DIRS%" -classpath "%LOCALCLASSPATH%" -jar %ACTIVEMQ_HOME%/bin/run.jar %ACTIVEMQ_TASK% %ACTIVEMQ_CMD_LINE_ARGS% + + +goto end + + +:end +set LOCALCLASSPATH= +set _JAVACMD= +set ACTIVEMQ_CMD_LINE_ARGS= + +if "%OS%"=="Windows_NT" @endlocal + +:mainEnd +if exist "%HOME%\activemqrc_post.bat" call "%HOME%\activemqrc_post.bat" + Propchange: incubator/activemq/trunk/assembly/src/release/bin/query.bat ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/assembly/src/release/bin/shutdown.bat URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/assembly/src/release/bin/shutdown.bat?rev=379624&r1=379623&r2=379624&view=diff ============================================================================== --- incubator/activemq/trunk/assembly/src/release/bin/shutdown.bat (original) +++ incubator/activemq/trunk/assembly/src/release/bin/shutdown.bat Tue Feb 21 15:30:38 2006 @@ -1,115 +1,115 @@ -@echo off - -REM ActiveMQ shell script -REM -REM This script is heavily based on the Ant script -REM -REM Copyright 2005-2006 The Apache Software Foundation -REM -REM Licensed under the Apache License, Version 2.0 (the "License"); -REM you may not use this file except in compliance with the License. -REM You may obtain a copy of the License at -REM -REM http://www.apache.org/licenses/LICENSE-2.0 -REM -REM Unless required by applicable law or agreed to in writing, software -REM distributed under the License is distributed on an "AS IS" BASIS, -REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -REM See the License for the specific language governing permissions and -REM limitations under the License. - -if exist "%HOME%\activemqrc_pre.bat" call "%HOME%\activemqrc_pre.bat" - -if "%OS%"=="Windows_NT" @setlocal - -rem %~dp0 is expanded pathname of the current script under NT -set DEFAULT_ACTIVEMQ_HOME=%~dp0.. - -if "%ACTIVEMQ_HOME%"=="" set ACTIVEMQ_HOME=%DEFAULT_ACTIVEMQ_HOME% -set DEFAULT_ACTIVEMQ_HOME= - -rem Slurp the command line arguments. This loop allows for an unlimited number -rem of arguments (up to the command line limit, anyway). -set ACTIVEMQ_CMD_LINE_ARGS=%1 -if ""%1""=="""" goto doneStart -shift -:setupArgs -if ""%1""=="""" goto doneStart -set ACTIVEMQ_CMD_LINE_ARGS=%ACTIVEMQ_CMD_LINE_ARGS% %1 -shift -goto setupArgs -rem This label provides a place for the argument list loop to break out -rem and for NT handling to skip to. - -:doneStart -rem find ACTIVEMQ_HOME if it does not exist due to either an invalid value passed -rem by the user or the %0 problem on Windows 9x -if exist "%ACTIVEMQ_HOME%\README.txt" goto checkJava - -rem check for activemq in Program Files on system drive -if not exist "%SystemDrive%\Program Files\activemq" goto checkSystemDrive -set ACTIVEMQ_HOME=%SystemDrive%\Program Files\activemq -goto checkJava - -:checkSystemDrive -rem check for activemq in root directory of system drive -if not exist %SystemDrive%\activemq\README.txt goto checkCDrive -set ACTIVEMQ_HOME=%SystemDrive%\activemq -goto checkJava - -:checkCDrive -rem check for activemq in C:\activemq for Win9X users -if not exist C:\activemq\README.txt goto noAntHome -set ACTIVEMQ_HOME=C:\activemq -goto checkJava - -:noAntHome -echo ACTIVEMQ_HOME is set incorrectly or activemq could not be located. Please set ACTIVEMQ_HOME. -goto end - -:checkJava -set _JAVACMD=%JAVACMD% -set LOCALCLASSPATH=%CLASSPATH% - -set JAVA_EXT_DIRS=%JAVA_HOME%\lib\ext;%ACTIVEMQ_HOME%;%ACTIVEMQ_HOME%\lib;%ACTIVEMQ_HOME%\lib\optional - -if "%JAVA_HOME%" == "" goto noJavaHome -if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome -if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe -goto runAnt - -:noJavaHome -if "%_JAVACMD%" == "" set _JAVACMD=java.exe -echo. -echo Warning: JAVA_HOME environment variable is not set. -echo. - -:runAnt - -if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true - -REM Uncomment to enable YourKit profiling -REM SET ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent" - -REM Uncomment to enable remote debugging -REM SET ACTIVEMQ_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 - -set LOCALCLASSPATH=%ACTIVEMQ_HOME%\conf;%LOCALCLASSPATH% - -set ACTIVEMQ_TASK="stop" -"%_JAVACMD%" %ACTIVEMQ_DEBUG_OPTS% %ACTIVEMQ_OPTS% -Djava.ext.dirs="%JAVA_EXT_DIRS%" -classpath "%LOCALCLASSPATH%" -jar %ACTIVEMQ_HOME%/bin/run.jar %ACTIVEMQ_TASK% %ACTIVEMQ_CMD_LINE_ARGS% - - -goto end - - -:end -set LOCALCLASSPATH= -set _JAVACMD= -set ACTIVEMQ_CMD_LINE_ARGS= - -if "%OS%"=="Windows_NT" @endlocal - -:mainEnd -if exist "%HOME%\activemqrc_post.bat" call "%HOME%\activemqrc_post.bat" - +@echo off + +REM ActiveMQ shell script +REM +REM This script is heavily based on the Ant script +REM +REM Copyright 2005-2006 The Apache Software Foundation +REM +REM Licensed under the Apache License, Version 2.0 (the "License"); +REM you may not use this file except in compliance with the License. +REM You may obtain a copy of the License at +REM +REM http://www.apache.org/licenses/LICENSE-2.0 +REM +REM Unless required by applicable law or agreed to in writing, software +REM distributed under the License is distributed on an "AS IS" BASIS, +REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +REM See the License for the specific language governing permissions and +REM limitations under the License. + +if exist "%HOME%\activemqrc_pre.bat" call "%HOME%\activemqrc_pre.bat" + +if "%OS%"=="Windows_NT" @setlocal + +rem %~dp0 is expanded pathname of the current script under NT +set DEFAULT_ACTIVEMQ_HOME=%~dp0.. + +if "%ACTIVEMQ_HOME%"=="" set ACTIVEMQ_HOME=%DEFAULT_ACTIVEMQ_HOME% +set DEFAULT_ACTIVEMQ_HOME= + +rem Slurp the command line arguments. This loop allows for an unlimited number +rem of arguments (up to the command line limit, anyway). +set ACTIVEMQ_CMD_LINE_ARGS=%1 +if ""%1""=="""" goto doneStart +shift +:setupArgs +if ""%1""=="""" goto doneStart +set ACTIVEMQ_CMD_LINE_ARGS=%ACTIVEMQ_CMD_LINE_ARGS% %1 +shift +goto setupArgs +rem This label provides a place for the argument list loop to break out +rem and for NT handling to skip to. + +:doneStart +rem find ACTIVEMQ_HOME if it does not exist due to either an invalid value passed +rem by the user or the %0 problem on Windows 9x +if exist "%ACTIVEMQ_HOME%\README.txt" goto checkJava + +rem check for activemq in Program Files on system drive +if not exist "%SystemDrive%\Program Files\activemq" goto checkSystemDrive +set ACTIVEMQ_HOME=%SystemDrive%\Program Files\activemq +goto checkJava + +:checkSystemDrive +rem check for activemq in root directory of system drive +if not exist %SystemDrive%\activemq\README.txt goto checkCDrive +set ACTIVEMQ_HOME=%SystemDrive%\activemq +goto checkJava + +:checkCDrive +rem check for activemq in C:\activemq for Win9X users +if not exist C:\activemq\README.txt goto noAntHome +set ACTIVEMQ_HOME=C:\activemq +goto checkJava + +:noAntHome +echo ACTIVEMQ_HOME is set incorrectly or activemq could not be located. Please set ACTIVEMQ_HOME. +goto end + +:checkJava +set _JAVACMD=%JAVACMD% +set LOCALCLASSPATH=%CLASSPATH% + +set JAVA_EXT_DIRS=%JAVA_HOME%\lib\ext;%ACTIVEMQ_HOME%;%ACTIVEMQ_HOME%\lib;%ACTIVEMQ_HOME%\lib\optional + +if "%JAVA_HOME%" == "" goto noJavaHome +if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java.exe +goto runAnt + +:noJavaHome +if "%_JAVACMD%" == "" set _JAVACMD=java.exe +echo. +echo Warning: JAVA_HOME environment variable is not set. +echo. + +:runAnt + +if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true + +REM Uncomment to enable YourKit profiling +REM SET ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent" + +REM Uncomment to enable remote debugging +REM SET ACTIVEMQ_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 + +set LOCALCLASSPATH=%ACTIVEMQ_HOME%\conf;%LOCALCLASSPATH% + +set ACTIVEMQ_TASK="stop" +"%_JAVACMD%" %ACTIVEMQ_DEBUG_OPTS% %ACTIVEMQ_OPTS% -Djava.ext.dirs="%JAVA_EXT_DIRS%" -classpath "%LOCALCLASSPATH%" -jar %ACTIVEMQ_HOME%/bin/run.jar %ACTIVEMQ_TASK% %ACTIVEMQ_CMD_LINE_ARGS% + + +goto end + + +:end +set LOCALCLASSPATH= +set _JAVACMD= +set ACTIVEMQ_CMD_LINE_ARGS= + +if "%OS%"=="Windows_NT" @endlocal + +:mainEnd +if exist "%HOME%\activemqrc_post.bat" call "%HOME%\activemqrc_post.bat" + Propchange: incubator/activemq/trunk/assembly/src/release/bin/shutdown.bat ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/jmeter/resource/jmeter-n.bat URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/jmeter/resource/jmeter-n.bat?rev=379624&r1=379623&r2=379624&view=diff ============================================================================== --- incubator/activemq/trunk/jmeter/resource/jmeter-n.bat (original) +++ incubator/activemq/trunk/jmeter/resource/jmeter-n.bat Tue Feb 21 15:30:38 2006 @@ -1,53 +1,53 @@ -@echo off - -rem $Id: jmeter-n.bat,v 1.3 2005/03/18 15:26:54 mstover1 Exp $ -rem Copyright 2001-2004 The Apache Software Foundation -rem -rem Licensed under the Apache License, Version 2.0 (the "License"); -rem you may not use this file except in compliance with the License. -rem You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. - -rem ============================================ -rem Non-GUI version of JMETER.BAT (WinNT/2K only) -rem -rem Drop a JMX file on this batch script, and it -rem will run it in non-GUI mode, with a log file -rem formed from the input file name but with the -rem extension .jtl -rem -rem Only the first parameter is used. -rem Only works for Win2k. -rem -rem ============================================ - -if "%OS%"=="Windows_NT" goto WinNT -echo "Sorry, this command file requires Windows NT/ 2000 / XP" -pause -goto END -:WinNT - -rem Change to directory containing this file, which must be in bin -echo Changing to JMeter home directory -cd /D %~dp0 - -rem Check file is supplied -if a == a%1 goto winNT2 -rem Check it has extension .jmx -if a%~x1 == a.jmx goto winNT3 -:winNT2 -echo Please supply a script name with the extension .jmx -pause -goto :EOF -:winNT3 - -jmeter -n -t %1 -l %~dpn1.jtl - +@echo off + +rem $Id: jmeter-n.bat,v 1.3 2005/03/18 15:26:54 mstover1 Exp $ +rem Copyright 2001-2004 The Apache Software Foundation +rem +rem Licensed under the Apache License, Version 2.0 (the "License"); +rem you may not use this file except in compliance with the License. +rem You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + +rem ============================================ +rem Non-GUI version of JMETER.BAT (WinNT/2K only) +rem +rem Drop a JMX file on this batch script, and it +rem will run it in non-GUI mode, with a log file +rem formed from the input file name but with the +rem extension .jtl +rem +rem Only the first parameter is used. +rem Only works for Win2k. +rem +rem ============================================ + +if "%OS%"=="Windows_NT" goto WinNT +echo "Sorry, this command file requires Windows NT/ 2000 / XP" +pause +goto END +:WinNT + +rem Change to directory containing this file, which must be in bin +echo Changing to JMeter home directory +cd /D %~dp0 + +rem Check file is supplied +if a == a%1 goto winNT2 +rem Check it has extension .jmx +if a%~x1 == a.jmx goto winNT3 +:winNT2 +echo Please supply a script name with the extension .jmx +pause +goto :EOF +:winNT3 + +jmeter -n -t %1 -l %~dpn1.jtl + :END Propchange: incubator/activemq/trunk/jmeter/resource/jmeter-n.bat ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/jmeter/resource/jmeter-server.bat URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/jmeter/resource/jmeter-server.bat?rev=379624&r1=379623&r2=379624&view=diff ============================================================================== --- incubator/activemq/trunk/jmeter/resource/jmeter-server.bat (original) +++ incubator/activemq/trunk/jmeter/resource/jmeter-server.bat Tue Feb 21 15:30:38 2006 @@ -1,78 +1,78 @@ -@echo off - -rem $Id: jmeter-server.bat,v 1.11 2005/03/18 15:26:54 mstover1 Exp $ -rem Copyright 2001-2004 The Apache Software Foundation -rem -rem Licensed under the Apache License, Version 2.0 (the "License"); -rem you may not use this file except in compliance with the License. -rem You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. - -REM Protect environment against changes if possible: -if "%OS%"=="Windows_NT" setlocal - -rem Need to check if we are using the 4NT shell... -rem [Does that support the ~ constructs?] -if "%eval[2+2]" == "4" goto winNT1 -if exist jmeter-server.bat goto winNT1 -echo Changing to JMeter home directory -cd /D %~dp0 -:winNT1 - -if exist %JMETER_HOME%\lib\ext\ApacheJMeter_core.jar goto setCP -echo Could not find ApacheJmeter_core.jar ... -REM Try to work out JMETER_HOME -echo ... Trying JMETER_HOME=.. -set JMETER_HOME=.. -if exist %JMETER_HOME%\lib\ext\ApacheJMeter_core.jar goto setCP -echo ... trying JMETER_HOME=. -set JMETER_HOME=. -if exist %JMETER_HOME%\lib\ext\ApacheJMeter_core.jar goto setCP -echo Cannot determine JMETER_HOME ! -goto exit - -:setCP -echo Found ApacheJMeter_core.jar -set CLASSPATH=%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;%JMETER_HOME%\lib\logkit-1.2.jar -START rmiregistry - -if not "%OS%"=="Windows_NT" goto win9xStart -:winNTStart - -rem Need to check if we are using the 4NT shell... -if "%eval[2+2]" == "4" goto setup4NT - -rem On NT/2K grab all arguments at once -set JMETER_CMD_LINE_ARGS=%* -goto doneStart - -:setup4NT -set JMETER_CMD_LINE_ARGS=%$ -goto doneStart - -:win9xStart -rem Slurp the command line arguments. This loop allows for an unlimited number of -rem agruments (up to the command line limit, anyway). - -set JMETER_CMD_LINE_ARGS= - -:setupArgs -if %1a==a goto doneStart -set JMETER_CMD_LINE_ARGS=%JMETER_CMD_LINE_ARGS% %1 -shift -goto setupArgs - -:doneStart -rem This label provides a place for the argument list loop to break out -rem and for NT handling to skip to. - -jmeter -s %JMETER_CMD_LINE_ARGS% - +@echo off + +rem $Id: jmeter-server.bat,v 1.11 2005/03/18 15:26:54 mstover1 Exp $ +rem Copyright 2001-2004 The Apache Software Foundation +rem +rem Licensed under the Apache License, Version 2.0 (the "License"); +rem you may not use this file except in compliance with the License. +rem You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + +REM Protect environment against changes if possible: +if "%OS%"=="Windows_NT" setlocal + +rem Need to check if we are using the 4NT shell... +rem [Does that support the ~ constructs?] +if "%eval[2+2]" == "4" goto winNT1 +if exist jmeter-server.bat goto winNT1 +echo Changing to JMeter home directory +cd /D %~dp0 +:winNT1 + +if exist %JMETER_HOME%\lib\ext\ApacheJMeter_core.jar goto setCP +echo Could not find ApacheJmeter_core.jar ... +REM Try to work out JMETER_HOME +echo ... Trying JMETER_HOME=.. +set JMETER_HOME=.. +if exist %JMETER_HOME%\lib\ext\ApacheJMeter_core.jar goto setCP +echo ... trying JMETER_HOME=. +set JMETER_HOME=. +if exist %JMETER_HOME%\lib\ext\ApacheJMeter_core.jar goto setCP +echo Cannot determine JMETER_HOME ! +goto exit + +:setCP +echo Found ApacheJMeter_core.jar +set CLASSPATH=%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;%JMETER_HOME%\lib\logkit-1.2.jar +START rmiregistry + +if not "%OS%"=="Windows_NT" goto win9xStart +:winNTStart + +rem Need to check if we are using the 4NT shell... +if "%eval[2+2]" == "4" goto setup4NT + +rem On NT/2K grab all arguments at once +set JMETER_CMD_LINE_ARGS=%* +goto doneStart + +:setup4NT +set JMETER_CMD_LINE_ARGS=%$ +goto doneStart + +:win9xStart +rem Slurp the command line arguments. This loop allows for an unlimited number of +rem agruments (up to the command line limit, anyway). + +set JMETER_CMD_LINE_ARGS= + +:setupArgs +if %1a==a goto doneStart +set JMETER_CMD_LINE_ARGS=%JMETER_CMD_LINE_ARGS% %1 +shift +goto setupArgs + +:doneStart +rem This label provides a place for the argument list loop to break out +rem and for NT handling to skip to. + +jmeter -s %JMETER_CMD_LINE_ARGS% + :exit Propchange: incubator/activemq/trunk/jmeter/resource/jmeter-server.bat ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/jmeter/resource/jmeter-t.bat URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/jmeter/resource/jmeter-t.bat?rev=379624&r1=379623&r2=379624&view=diff ============================================================================== --- incubator/activemq/trunk/jmeter/resource/jmeter-t.bat (original) +++ incubator/activemq/trunk/jmeter/resource/jmeter-t.bat Tue Feb 21 15:30:38 2006 @@ -1,77 +1,77 @@ -@echo off -rem $Id: jmeter-t.bat,v 1.3 2005/03/18 15:26:54 mstover1 Exp $ -rem Copyright 2001-2004 The Apache Software Foundation -rem -rem Licensed under the Apache License, Version 2.0 (the "License"); -rem you may not use this file except in compliance with the License. -rem You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. - -rem ============================================ -rem -rem Drop a JMX file on this batch script, and it -rem will load it in the GUI. -rem -rem Only the first parameter is used. -rem Only works for Win2k. -rem -rem ============================================ - - -if "%OS%"=="Windows_NT" goto WinNT -echo "Sorry, this command file requires Windows NT/ 2000" -goto END -:WinNT - -rem change to the directory in which this script resides, i.e. bin -cd %~dp0 - -jmeter -t %1 - -:END@echo off - -rem $Id: jmeter-t.bat,v 1.3 2005/03/18 15:26:54 mstover1 Exp $ -rem Copyright 2001-2004 The Apache Software Foundation -rem -rem Licensed under the Apache License, Version 2.0 (the "License"); -rem you may not use this file except in compliance with the License. -rem You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. - -rem ============================================ -rem -rem Drop a JMX file on this batch script, and it -rem will load it in the GUI. -rem -rem Only the first parameter is used. -rem Only works for Win2k. -rem -rem ============================================ - - -if "%OS%"=="Windows_NT" goto WinNT -echo "Sorry, this command file requires Windows NT/ 2000 / XP" -pause -goto END -:WinNT - -rem change to the directory in which this script resides, i.e. bin -cd /D %~dp0 - -jmeter -t %1 - +@echo off +rem $Id: jmeter-t.bat,v 1.3 2005/03/18 15:26:54 mstover1 Exp $ +rem Copyright 2001-2004 The Apache Software Foundation +rem +rem Licensed under the Apache License, Version 2.0 (the "License"); +rem you may not use this file except in compliance with the License. +rem You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + +rem ============================================ +rem +rem Drop a JMX file on this batch script, and it +rem will load it in the GUI. +rem +rem Only the first parameter is used. +rem Only works for Win2k. +rem +rem ============================================ + + +if "%OS%"=="Windows_NT" goto WinNT +echo "Sorry, this command file requires Windows NT/ 2000" +goto END +:WinNT + +rem change to the directory in which this script resides, i.e. bin +cd %~dp0 + +jmeter -t %1 + +:END@echo off + +rem $Id: jmeter-t.bat,v 1.3 2005/03/18 15:26:54 mstover1 Exp $ +rem Copyright 2001-2004 The Apache Software Foundation +rem +rem Licensed under the Apache License, Version 2.0 (the "License"); +rem you may not use this file except in compliance with the License. +rem You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + +rem ============================================ +rem +rem Drop a JMX file on this batch script, and it +rem will load it in the GUI. +rem +rem Only the first parameter is used. +rem Only works for Win2k. +rem +rem ============================================ + + +if "%OS%"=="Windows_NT" goto WinNT +echo "Sorry, this command file requires Windows NT/ 2000 / XP" +pause +goto END +:WinNT + +rem change to the directory in which this script resides, i.e. bin +cd /D %~dp0 + +jmeter -t %1 + :END Propchange: incubator/activemq/trunk/jmeter/resource/jmeter-t.bat ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/jmeter/resource/jmeter.bat URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/jmeter/resource/jmeter.bat?rev=379624&r1=379623&r2=379624&view=diff ============================================================================== --- incubator/activemq/trunk/jmeter/resource/jmeter.bat (original) +++ incubator/activemq/trunk/jmeter/resource/jmeter.bat Tue Feb 21 15:30:38 2006 @@ -1,83 +1,83 @@ -@echo off - -rem $Id: jmeter.bat,v 1.30 2005/03/18 15:26:54 mstover1 Exp $ -rem Copyright 2001-2004 The Apache Software Foundation -rem -rem Licensed under the Apache License, Version 2.0 (the "License"); -rem you may not use this file except in compliance with the License. -rem You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. - -if .%JM_LAUNCH% == . set JM_LAUNCH=java.exe - -if not "%OS%"=="Windows_NT" goto win9xStart -:winNTStart -@setlocal - -rem Need to check if we are using the 4NT shell... -if "%eval[2+2]" == "4" goto setup4NT - -if exist jmeter.bat goto winNT1 -echo Changing to JMeter home directory -cd /D %~dp0 - -:winNT1 -rem On NT/2K grab all arguments at once -set JMETER_CMD_LINE_ARGS=%* -goto doneStart - -:setup4NT -set JMETER_CMD_LINE_ARGS=%$ -goto doneStart - -:win9xStart -rem Slurp the command line arguments. This loop allows for an unlimited number of -rem agruments (up to the command line limit, anyway). - -set JMETER_CMD_LINE_ARGS= - -:setupArgs -if %1a==a goto doneStart -set JMETER_CMD_LINE_ARGS=%JMETER_CMD_LINE_ARGS% %1 -shift -goto setupArgs - -:doneStart -rem This label provides a place for the argument list loop to break out -rem and for NT handling to skip to. - -rem See the unix startup file for the rationale of the following parameters, -rem including some tuning recommendations -set HEAP=-Xms256m -Xmx256m -set NEW=-XX:NewSize=128m -XX:MaxNewSize=128m -set SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50% -set TENURING=-XX:MaxTenuringThreshold=2 -set EVACUATION=-XX:MaxLiveObjectEvacuationRatio=20% -set RMIGC=-Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000 -set PERM=-XX:PermSize=64m -XX:MaxPermSize=64m -set DEBUG=-verbose:gc -XX:+PrintTenuringDistribution - -rem Additional settings that might help improve GUI performance on some platforms -rem See: http://java.sun.com/products/java-media/2D/perf_graphics.html - -set DDRAW= -rem Setting this flag to true turns off DirectDraw usage, which sometimes helps to get rid of a lot of rendering problems on Win32. -rem set DDRAW=%DDRAW% -Dsun.java2d.noddraw=true - -rem Setting this flag to false turns off DirectDraw offscreen surfaces acceleration by forcing all createVolatileImage calls to become createImage calls, and disables hidden acceleration performed on surfaces created with createImage . -rem set DDRAW=%DDRAW% -Dsun.java2d.ddoffscreen=false - -rem Setting this flag to true enables hardware-accelerated scaling. -rem set DDRAW=%DDRAW% -Dsun.java2d.ddscale=true - -rem Collect the settings defined above -set ARGS=%HEAP% %NEW% %SURVIVOR% %TENURING% %EVACUATION% %RMIGC% %PERM% %DEBUG% %DDRAW% - -%JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar ApacheJMeter.jar %JMETER_CMD_LINE_ARGS% +@echo off + +rem $Id: jmeter.bat,v 1.30 2005/03/18 15:26:54 mstover1 Exp $ +rem Copyright 2001-2004 The Apache Software Foundation +rem +rem Licensed under the Apache License, Version 2.0 (the "License"); +rem you may not use this file except in compliance with the License. +rem You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + +if .%JM_LAUNCH% == . set JM_LAUNCH=java.exe + +if not "%OS%"=="Windows_NT" goto win9xStart +:winNTStart +@setlocal + +rem Need to check if we are using the 4NT shell... +if "%eval[2+2]" == "4" goto setup4NT + +if exist jmeter.bat goto winNT1 +echo Changing to JMeter home directory +cd /D %~dp0 + +:winNT1 +rem On NT/2K grab all arguments at once +set JMETER_CMD_LINE_ARGS=%* +goto doneStart + +:setup4NT +set JMETER_CMD_LINE_ARGS=%$ +goto doneStart + +:win9xStart +rem Slurp the command line arguments. This loop allows for an unlimited number of +rem agruments (up to the command line limit, anyway). + +set JMETER_CMD_LINE_ARGS= + +:setupArgs +if %1a==a goto doneStart +set JMETER_CMD_LINE_ARGS=%JMETER_CMD_LINE_ARGS% %1 +shift +goto setupArgs + +:doneStart +rem This label provides a place for the argument list loop to break out +rem and for NT handling to skip to. + +rem See the unix startup file for the rationale of the following parameters, +rem including some tuning recommendations +set HEAP=-Xms256m -Xmx256m +set NEW=-XX:NewSize=128m -XX:MaxNewSize=128m +set SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50% +set TENURING=-XX:MaxTenuringThreshold=2 +set EVACUATION=-XX:MaxLiveObjectEvacuationRatio=20% +set RMIGC=-Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000 +set PERM=-XX:PermSize=64m -XX:MaxPermSize=64m +set DEBUG=-verbose:gc -XX:+PrintTenuringDistribution + +rem Additional settings that might help improve GUI performance on some platforms +rem See: http://java.sun.com/products/java-media/2D/perf_graphics.html + +set DDRAW= +rem Setting this flag to true turns off DirectDraw usage, which sometimes helps to get rid of a lot of rendering problems on Win32. +rem set DDRAW=%DDRAW% -Dsun.java2d.noddraw=true + +rem Setting this flag to false turns off DirectDraw offscreen surfaces acceleration by forcing all createVolatileImage calls to become createImage calls, and disables hidden acceleration performed on surfaces created with createImage . +rem set DDRAW=%DDRAW% -Dsun.java2d.ddoffscreen=false + +rem Setting this flag to true enables hardware-accelerated scaling. +rem set DDRAW=%DDRAW% -Dsun.java2d.ddscale=true + +rem Collect the settings defined above +set ARGS=%HEAP% %NEW% %SURVIVOR% %TENURING% %EVACUATION% %RMIGC% %PERM% %DEBUG% %DDRAW% + +%JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar ApacheJMeter.jar %JMETER_CMD_LINE_ARGS% Propchange: incubator/activemq/trunk/jmeter/resource/jmeter.bat ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/jmeter/resource/jmeterw.bat URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/jmeter/resource/jmeterw.bat?rev=379624&r1=379623&r2=379624&view=diff ============================================================================== --- incubator/activemq/trunk/jmeter/resource/jmeterw.bat (original) +++ incubator/activemq/trunk/jmeter/resource/jmeterw.bat Tue Feb 21 15:30:38 2006 @@ -1,23 +1,23 @@ -@echo off -rem Run JMeter using javaw - -rem $Id: jmeterw.bat,v 1.4 2005/03/18 15:26:54 mstover1 Exp $ -rem Copyright 2001-2004 The Apache Software Foundation -rem -rem Licensed under the Apache License, Version 2.0 (the "License"); -rem you may not use this file except in compliance with the License. -rem You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. - -set JM_START=start -set JM_LAUNCH=javaw.exe -call jmeter %* -set JM_START= +@echo off +rem Run JMeter using javaw + +rem $Id: jmeterw.bat,v 1.4 2005/03/18 15:26:54 mstover1 Exp $ +rem Copyright 2001-2004 The Apache Software Foundation +rem +rem Licensed under the Apache License, Version 2.0 (the "License"); +rem you may not use this file except in compliance with the License. +rem You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. + +set JM_START=start +set JM_LAUNCH=javaw.exe +call jmeter %* +set JM_START= set JM_LAUNCH= Propchange: incubator/activemq/trunk/jmeter/resource/jmeterw.bat ------------------------------------------------------------------------------ svn:eol-style = native