Return-Path: Delivered-To: apmail-geronimo-activemq-commits-archive@www.apache.org Received: (qmail 78467 invoked from network); 14 Nov 2006 22:09:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2006 22:09:49 -0000 Received: (qmail 29274 invoked by uid 500); 14 Nov 2006 22:09:59 -0000 Delivered-To: apmail-geronimo-activemq-commits-archive@geronimo.apache.org Received: (qmail 29256 invoked by uid 500); 14 Nov 2006 22:09:59 -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 29247 invoked by uid 99); 14 Nov 2006 22:09:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 14:09:59 -0800 X-ASF-Spam-Status: No, hits=-8.2 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50,WEIRD_QUOTING X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 14:09:47 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 02D991A9856; Tue, 14 Nov 2006 14:09:16 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r475019 [2/2] - in /incubator/activemq/branches/activemq-4.1: activemq-web-console/src/main/webapp/js/plotkit/ activemq-web-demo/src/main/webapp/ activemq-web-demo/src/main/webapp/js/ activemq-web-demo/src/main/webapp/portfolio/ activemq-we... Date: Tue, 14 Nov 2006 22:09:16 -0000 To: activemq-commits@geronimo.apache.org From: chirino@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061114220917.02D991A9856@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/list.bat URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/list.bat?view=diff&rev=475019&r1=475018&r2=475019 ============================================================================== --- incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/list.bat (original) +++ incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/list.bat Tue Nov 14 14:09:15 2006 @@ -1,115 +1,115 @@ -@echo off - -REM ------------------------------------------------------------------------ -REM Licensed to the Apache Software Foundation (ASF) under one or more -REM contributor license agreements. See the NOTICE file distributed with -REM this work for additional information regarding copyright ownership. -REM The ASF licenses this file to You under the Apache License, Version 2.0 -REM (the "License"); you may not use this file except in compliance with -REM the License. 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 ------------------------------------------------------------------------ - -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 ------------------------------------------------------------------------ +REM Licensed to the Apache Software Foundation (ASF) under one or more +REM contributor license agreements. See the NOTICE file distributed with +REM this work for additional information regarding copyright ownership. +REM The ASF licenses this file to You under the Apache License, Version 2.0 +REM (the "License"); you may not use this file except in compliance with +REM the License. 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 ------------------------------------------------------------------------ + +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/branches/activemq-4.1/assembly/src/release/bin/list.bat ------------------------------------------------------------------------------ --- svn:eol-style (original) +++ svn:eol-style Tue Nov 14 14:09:15 2006 @@ -1 +1 @@ -CRLF +native Modified: incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/query.bat URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/query.bat?view=diff&rev=475019&r1=475018&r2=475019 ============================================================================== --- incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/query.bat (original) +++ incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/query.bat Tue Nov 14 14:09:15 2006 @@ -1,115 +1,115 @@ -@echo off - -REM ------------------------------------------------------------------------ -REM Licensed to the Apache Software Foundation (ASF) under one or more -REM contributor license agreements. See the NOTICE file distributed with -REM this work for additional information regarding copyright ownership. -REM The ASF licenses this file to You under the Apache License, Version 2.0 -REM (the "License"); you may not use this file except in compliance with -REM the License. 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 ------------------------------------------------------------------------ - -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 ------------------------------------------------------------------------ +REM Licensed to the Apache Software Foundation (ASF) under one or more +REM contributor license agreements. See the NOTICE file distributed with +REM this work for additional information regarding copyright ownership. +REM The ASF licenses this file to You under the Apache License, Version 2.0 +REM (the "License"); you may not use this file except in compliance with +REM the License. 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 ------------------------------------------------------------------------ + +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/branches/activemq-4.1/assembly/src/release/bin/query.bat ------------------------------------------------------------------------------ --- svn:eol-style (original) +++ svn:eol-style Tue Nov 14 14:09:15 2006 @@ -1 +1 @@ -CRLF +native Modified: incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/shutdown.bat URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/shutdown.bat?view=diff&rev=475019&r1=475018&r2=475019 ============================================================================== --- incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/shutdown.bat (original) +++ incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/shutdown.bat Tue Nov 14 14:09:15 2006 @@ -1,115 +1,115 @@ -@echo off - -REM ------------------------------------------------------------------------ -REM Licensed to the Apache Software Foundation (ASF) under one or more -REM contributor license agreements. See the NOTICE file distributed with -REM this work for additional information regarding copyright ownership. -REM The ASF licenses this file to You under the Apache License, Version 2.0 -REM (the "License"); you may not use this file except in compliance with -REM the License. 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 ------------------------------------------------------------------------ - -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 ------------------------------------------------------------------------ +REM Licensed to the Apache Software Foundation (ASF) under one or more +REM contributor license agreements. See the NOTICE file distributed with +REM this work for additional information regarding copyright ownership. +REM The ASF licenses this file to You under the Apache License, Version 2.0 +REM (the "License"); you may not use this file except in compliance with +REM the License. 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 ------------------------------------------------------------------------ + +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/branches/activemq-4.1/assembly/src/release/bin/shutdown.bat ------------------------------------------------------------------------------ --- svn:eol-style (original) +++ svn:eol-style Tue Nov 14 14:09:15 2006 @@ -1 +1 @@ -CRLF +native Modified: incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/win32/InstallService.bat URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/win32/InstallService.bat?view=diff&rev=475019&r1=475018&r2=475019 ============================================================================== --- incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/win32/InstallService.bat (original) +++ incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/win32/InstallService.bat Tue Nov 14 14:09:15 2006 @@ -1,52 +1,52 @@ -@echo off - -REM ------------------------------------------------------------------------ -REM Licensed to the Apache Software Foundation (ASF) under one or more -REM contributor license agreements. See the NOTICE file distributed with -REM this work for additional information regarding copyright ownership. -REM The ASF licenses this file to You under the Apache License, Version 2.0 -REM (the "License"); you may not use this file except in compliance with -REM the License. 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 ------------------------------------------------------------------------ - -setlocal - -rem Java Service Wrapper general NT service install script - - -if "%OS%"=="Windows_NT" goto nt -echo This script only works with NT-based versions of Windows. -goto :eof - -:nt -rem -rem Find the application home. -rem -rem %~dp0 is location of current script under NT -set _REALPATH=%~dp0 - -set ACTIVEMQ_HOME=%~dp0..\.. -set ACTIVEMQ_BASE=%~dp0..\.. - -:conf -set _WRAPPER_CONF="%ACTIVEMQ_HOME%\bin\win32\wrapper.conf" - -set _ACTIVEMQ_HOME="set.ACTIVEMQ_HOME=%ACTIVEMQ_HOME%" -set _ACTIVEMQ_BASE="set.ACTIVEMQ_BASE=%ACTIVEMQ_BASE%" - -rem -rem Install the Wrapper as an NT service. -rem -:startup -"wrapper.exe" -i %_WRAPPER_CONF% %_ACTIVEMQ_HOME% %_ACTIVEMQ_BASE% -if not errorlevel 1 goto :eof -pause - +@echo off + +REM ------------------------------------------------------------------------ +REM Licensed to the Apache Software Foundation (ASF) under one or more +REM contributor license agreements. See the NOTICE file distributed with +REM this work for additional information regarding copyright ownership. +REM The ASF licenses this file to You under the Apache License, Version 2.0 +REM (the "License"); you may not use this file except in compliance with +REM the License. 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 ------------------------------------------------------------------------ + +setlocal + +rem Java Service Wrapper general NT service install script + + +if "%OS%"=="Windows_NT" goto nt +echo This script only works with NT-based versions of Windows. +goto :eof + +:nt +rem +rem Find the application home. +rem +rem %~dp0 is location of current script under NT +set _REALPATH=%~dp0 + +set ACTIVEMQ_HOME=%~dp0..\.. +set ACTIVEMQ_BASE=%~dp0..\.. + +:conf +set _WRAPPER_CONF="%ACTIVEMQ_HOME%\bin\win32\wrapper.conf" + +set _ACTIVEMQ_HOME="set.ACTIVEMQ_HOME=%ACTIVEMQ_HOME%" +set _ACTIVEMQ_BASE="set.ACTIVEMQ_BASE=%ACTIVEMQ_BASE%" + +rem +rem Install the Wrapper as an NT service. +rem +:startup +"wrapper.exe" -i %_WRAPPER_CONF% %_ACTIVEMQ_HOME% %_ACTIVEMQ_BASE% +if not errorlevel 1 goto :eof +pause + Propchange: incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/win32/InstallService.bat ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/win32/UninstallService.bat URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/win32/UninstallService.bat?view=diff&rev=475019&r1=475018&r2=475019 ============================================================================== --- incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/win32/UninstallService.bat (original) +++ incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/win32/UninstallService.bat Tue Nov 14 14:09:15 2006 @@ -1,48 +1,48 @@ -@echo off - -REM ------------------------------------------------------------------------ -REM Licensed to the Apache Software Foundation (ASF) under one or more -REM contributor license agreements. See the NOTICE file distributed with -REM this work for additional information regarding copyright ownership. -REM The ASF licenses this file to You under the Apache License, Version 2.0 -REM (the "License"); you may not use this file except in compliance with -REM the License. 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 ------------------------------------------------------------------------ - -setlocal - -rem Java Service Wrapper general NT service uninstall script - -if "%OS%"=="Windows_NT" goto nt -echo This script only works with NT-based versions of Windows. -goto :eof - -:nt -rem -rem Find the application home. -rem -rem %~dp0 is location of current script under NT -set _REALPATH=%~dp0 - -set ACTIVEMQ_HOME=%~dp0\..\.. - -:conf -set _WRAPPER_CONF="%ACTIVEMQ_HOME%\bin\win32\wrapper.conf" - - -rem -rem Uninstall the Wrapper as an NT service. -rem -:startup -"%_APP_HOME%wrapper.exe" -r %_WRAPPER_CONF% -if not errorlevel 1 goto :eof -pause - +@echo off + +REM ------------------------------------------------------------------------ +REM Licensed to the Apache Software Foundation (ASF) under one or more +REM contributor license agreements. See the NOTICE file distributed with +REM this work for additional information regarding copyright ownership. +REM The ASF licenses this file to You under the Apache License, Version 2.0 +REM (the "License"); you may not use this file except in compliance with +REM the License. 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 ------------------------------------------------------------------------ + +setlocal + +rem Java Service Wrapper general NT service uninstall script + +if "%OS%"=="Windows_NT" goto nt +echo This script only works with NT-based versions of Windows. +goto :eof + +:nt +rem +rem Find the application home. +rem +rem %~dp0 is location of current script under NT +set _REALPATH=%~dp0 + +set ACTIVEMQ_HOME=%~dp0\..\.. + +:conf +set _WRAPPER_CONF="%ACTIVEMQ_HOME%\bin\win32\wrapper.conf" + + +rem +rem Uninstall the Wrapper as an NT service. +rem +:startup +"%_APP_HOME%wrapper.exe" -r %_WRAPPER_CONF% +if not errorlevel 1 goto :eof +pause + Propchange: incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/win32/UninstallService.bat ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/win32/activemq.bat URL: http://svn.apache.org/viewvc/incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/win32/activemq.bat?view=diff&rev=475019&r1=475018&r2=475019 ============================================================================== --- incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/win32/activemq.bat (original) +++ incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/win32/activemq.bat Tue Nov 14 14:09:15 2006 @@ -1,50 +1,50 @@ -@echo off - -REM ------------------------------------------------------------------------ -REM Licensed to the Apache Software Foundation (ASF) under one or more -REM contributor license agreements. See the NOTICE file distributed with -REM this work for additional information regarding copyright ownership. -REM The ASF licenses this file to You under the Apache License, Version 2.0 -REM (the "License"); you may not use this file except in compliance with -REM the License. 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 Find the application home. -rem -if "%OS%"=="Windows_NT" goto nt - -echo This is not NT, so please edit this script and set _APP_HOME manually -set _APP_HOME=.. - -goto conf - -:nt -rem %~dp0 is name of current script under NT -set _APP_HOME=%~dp0 - -rem -rem Find the wrapper.conf -rem -:conf -set _WRAPPER_CONF=wrapper.conf - -rem -rem Run the application. -rem At runtime, the current directory will be that of Wrapper.exe -rem -"%_APP_HOME%wrapper.exe" -c %_WRAPPER_CONF% -if not errorlevel 1 goto end -pause - -:end -set _APP_HOME= -set _WRAPPER_CONF= +@echo off + +REM ------------------------------------------------------------------------ +REM Licensed to the Apache Software Foundation (ASF) under one or more +REM contributor license agreements. See the NOTICE file distributed with +REM this work for additional information regarding copyright ownership. +REM The ASF licenses this file to You under the Apache License, Version 2.0 +REM (the "License"); you may not use this file except in compliance with +REM the License. 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 Find the application home. +rem +if "%OS%"=="Windows_NT" goto nt + +echo This is not NT, so please edit this script and set _APP_HOME manually +set _APP_HOME=.. + +goto conf + +:nt +rem %~dp0 is name of current script under NT +set _APP_HOME=%~dp0 + +rem +rem Find the wrapper.conf +rem +:conf +set _WRAPPER_CONF=wrapper.conf + +rem +rem Run the application. +rem At runtime, the current directory will be that of Wrapper.exe +rem +"%_APP_HOME%wrapper.exe" -c %_WRAPPER_CONF% +if not errorlevel 1 goto end +pause + +:end +set _APP_HOME= +set _WRAPPER_CONF= Propchange: incubator/activemq/branches/activemq-4.1/assembly/src/release/bin/win32/activemq.bat ------------------------------------------------------------------------------ svn:eol-style = native