From 913489deb2ee9dbf44455de5f407ddaf4bd8c540 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Tue, 19 Sep 2006 22:06:50 +0000 Subject: Import of qpid from etp: URL: https://etp.108.redhat.com/svn/etp/trunk/blaze Repository Root: https://etp.108.redhat.com/svn/etp Repository UUID: 06e15bec-b515-0410-bef0-cc27a458cf48 Revision: 608 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@447994 13f79535-47bb-0310-9956-ffa450edef68 --- java/management/cli/bin/stac.bat | 38 ++++++++++++++++++++++++++++++++++ java/management/cli/bin/stac.sh | 39 +++++++++++++++++++++++++++++++++++ java/management/cli/bin/stacDEV.bat | 41 +++++++++++++++++++++++++++++++++++++ 3 files changed, 118 insertions(+) create mode 100644 java/management/cli/bin/stac.bat create mode 100755 java/management/cli/bin/stac.sh create mode 100644 java/management/cli/bin/stacDEV.bat (limited to 'java/management/cli/bin') diff --git a/java/management/cli/bin/stac.bat b/java/management/cli/bin/stac.bat new file mode 100644 index 0000000000..156b7792cb --- /dev/null +++ b/java/management/cli/bin/stac.bat @@ -0,0 +1,38 @@ +@REM +@REM Copyright (c) 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. +@REM + +@echo off +set COREROOT=..\..\core +set AMQROOT=..\..\..\clients_java + +set CP=..\lib\jython\jython.jar +set CP=%CP%;..\dist\amqp-stac.jar +set CP=%CP%;%COREROOT%\dist\amqp-management-common.jar +set CP=%CP%;%COREROOT%\lib\log4j\log4j-1.2.9.jar +set CP=%CP%;%COREROOT%\lib\xmlbeans\jsr173_api.jar +set CP=%CP%;%COREROOT%\lib\xmlbeans\resolver.jar +set CP=%CP%;%COREROOT%\lib\xmlbeans\xbean.jar +set CP=%CP%;%COREROOT%\lib\xmlbeans\xbean_xpath.jar +set CP=%CP%;%COREROOT%\lib\xmlbeans\xmlpublic.jar +set CP=%CP%;%COREROOT%\lib\xmlbeans\saxon8.jar +set CP=%CP%;%AMQROOT%\dist\amqp-common.jar +set CP=%CP%;%AMQROOT%\dist\amqp-jms.jar +set CP=%CP%;%AMQROOT%\lib\mina\mina-0.7.3.jar +set CP=%CP%;%AMQROOT%\lib\jms\jms.jar +set CP=%CP%;%AMQROOT%\lib\util-concurrent\backport-util-concurrent.jar +set CP=%CP%;%AMQROOT%\lib\jakarta-commons\commons-collections-3.1.jar + +%JAVA_HOME%\bin\java -Damqj.logging.level="ERROR" -cp %CP% org.apache.qpid.stac.Stac diff --git a/java/management/cli/bin/stac.sh b/java/management/cli/bin/stac.sh new file mode 100755 index 0000000000..8fabe3a606 --- /dev/null +++ b/java/management/cli/bin/stac.sh @@ -0,0 +1,39 @@ +#!/bin/sh +# +# Copyright (c) 2006 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + + +COREROOT=../../core +AMQROOT=../../../clients_java + +CP=../lib/jython/jython.jar +CP=$CP:../dist/amqp-stac.jar +CP=$CP:$COREROOT/dist/amqp-management-common.jar +CP=$CP:$COREROOT/lib/log4j/log4j-1.2.9.jar +CP=$CP:$COREROOT/lib/xmlbeans/jsr173_api.jar +CP=$CP:$COREROOT/lib/xmlbeans/resolver.jar +CP=$CP:$COREROOT/lib/xmlbeans/xbean.jar +CP=$CP:$COREROOT/lib/xmlbeans/xbean_xpath.jar +CP=$CP:$COREROOT/lib/xmlbeans/xmlpublic.jar +CP=$CP:$COREROOT/lib/xmlbeans/saxon8.jar +CP=$CP:$AMQROOT/dist/amqp-common.jar +CP=$CP:$AMQROOT/dist/amqp-jms.jar +CP=$CP:$AMQROOT/lib/mina/mina-0.7.3.jar +CP=$CP:$AMQROOT/lib/jms/jms.jar +CP=$CP:$AMQROOT/lib/util-concurrent/backport-util-concurrent.jar +CP=$CP:$AMQROOT/lib/jakarta-commons/commons-collections-3.1.jar + +$JAVA_HOME/bin/java -Damqj.logging.level="ERROR" -cp $CP org.apache.qpid.stac.Stac diff --git a/java/management/cli/bin/stacDEV.bat b/java/management/cli/bin/stacDEV.bat new file mode 100644 index 0000000000..2a5bb88065 --- /dev/null +++ b/java/management/cli/bin/stacDEV.bat @@ -0,0 +1,41 @@ +@REM +@REM Copyright (c) 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. +@REM + +@echo off +set COREROOT=..\..\core +set AMQROOT=..\..\..\clients_java + +set CP=..\lib\jython\jython.jar +set CP=%CP%;..\intellijclasses +set CP=%CP%;%COREROOT%\intellijclasses +set CP=%CP%;%COREROOT%\classes +set CP=%CP%;%COREROOT%\lib\log4j\log4j-1.2.9.jar +set CP=%CP%;%COREROOT%\lib\xmlbeans\jsr173_api.jar +set CP=%CP%;%COREROOT%\lib\xmlbeans\resolver.jar +set CP=%CP%;%COREROOT%\lib\xmlbeans\xbean.jar +set CP=%CP%;%COREROOT%\lib\xmlbeans\xbean_xpath.jar +set CP=%CP%;%COREROOT%\lib\xmlbeans\xmlpublic.jar +set CP=%CP%;%COREROOT%\lib\xmlbeans\saxon8.jar +set CP=%CP%;%AMQROOT%\dist\amqp-common.jar +set CP=%CP%;%AMQROOT%\dist\amqp-jms.jar +set CP=%CP%;%AMQROOT%\lib\mina\mina-0.7.3.jar +set CP=%CP%;%AMQROOT%\lib\jms\jms.jar +set CP=%CP%;%AMQROOT%\lib\util-concurrent\backport-util-concurrent.jar +set CP=%CP%;%AMQROOT%\lib\jakarta-commons\commons-collections-3.1.jar + + +@rem %JAVA_HOME%\bin\java -Damqj.logging.level="ERROR" -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -cp %CP% org.amqp.blaze.stac.Stac +%JAVA_HOME%\bin\java -Damqj.logging.level="ERROR" -cp %CP% org.amqp.blaze.stac.Stac \ No newline at end of file -- cgit v1.2.1