diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2007-01-25 15:08:28 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2007-01-25 15:08:28 +0000 |
| commit | 80f91c3d3f16df2c7d695a64693637c0ec73eaac (patch) | |
| tree | 0913c82325416ef9b6098369bd8368d6475e97d4 /qpid/java/management/eclipse-plugin | |
| parent | c36dcc8cfaee9f0e7c2eabce6c469f0e0b95e534 (diff) | |
| download | qpid-python-80f91c3d3f16df2c7d695a64693637c0ec73eaac.tar.gz | |
Revision: 495550
Author: bhupendrab
Date: 11:00:49, 12 January 2007
Message:
QPID-279
Nuno Santos provided a patch for running the management console on linux. Baes on that these scripts are created to run on linux with different windowing system
----
Modified : /incubator/qpid/trunk/qpid/java/management/eclipse-plugin/bin/qpidmc.sh
Added : /incubator/qpid/trunk/qpid/java/management/eclipse-plugin/bin/qpidmc_gtk.sh
Added : /incubator/qpid/trunk/qpid/java/management/eclipse-plugin/bin/qpidmc_motif.sh
Modified : /incubator/qpid/trunk/qpid/java/management/eclipse-plugin/src/main/resources/unix/configuration/config.ini
Revision: 495517
Author: ritchiem
Date: 08:52:31, 12 January 2007
Message:
QPID-282
Updated AMQConnection and AMQBrokerDetails to check the host:port and add tcp:// if there is no protocol specified.
----
Modified : /incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQBrokerDetails.java
Modified : /incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
Modified : /incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/test/unit/client/connectionurl/ConnectionURLTest.java
Modified : /incubator/qpid/trunk/qpid/java/perftests/src/main/java/org/apache/qpid/requestreply/ServiceRequestingClient.java
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/perftesting@499813 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/management/eclipse-plugin')
4 files changed, 91 insertions, 1 deletions
diff --git a/qpid/java/management/eclipse-plugin/bin/qpidmc.sh b/qpid/java/management/eclipse-plugin/bin/qpidmc.sh index 13e3edcc94..e5e67c6d90 100755 --- a/qpid/java/management/eclipse-plugin/bin/qpidmc.sh +++ b/qpid/java/management/eclipse-plugin/bin/qpidmc.sh @@ -1,4 +1,22 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +# if [ "$JAVA_HOME" == "" ]; then echo "The JAVA_HOME environment variable is not defined"; @@ -10,4 +28,27 @@ if [ "$QPIDMC_HOME" == "" ]; then exit 0; fi -"$JAVA_HOME/bin/java" -Xms40m -Xmx256m -Declipse.consoleLog=false -jar $QPIDMC_HOME/eclipse/startup.jar org.eclipse.core.launcher.Main -launcher $QPIDMC_HOME/eclipse/eclipse -name "Qpid Management Console" -showsplash 600 -configuration "file:$QPIDMC_HOME/configuration" +os=win32 +ws=win32 +arch=x86 + +##echo $os +##echo $ws +##echo $arch + +## If this is to be run on different platform other than windows then following parameters should be passed +## qpidmc.sh <operating system> <windowing system> <platform achitecture> +## eg. qpidmc.sh linux motif x86 +if [ $# -eq 3 ]; then + os=$1 + ws=$2 + arch=$3 +fi + +if [ $os = "SunOS" ]; then + os="solaris" +elif [ $os = "Linux" ]; then + os="linux" +fi + +"$JAVA_HOME/bin/java" -Xms40m -Xmx256m -Declipse.consoleLog=false -jar $QPIDMC_HOME/eclipse/startup.jar org.eclipse.core.launcher.Main -launcher $QPIDMC_HOME/eclipse/eclipse -name "Qpid Management Console" -showsplash 600 -configuration "file:$QPIDMC_HOME/configuration" -os $os -ws $ws -arch $arch diff --git a/qpid/java/management/eclipse-plugin/bin/qpidmc_gtk.sh b/qpid/java/management/eclipse-plugin/bin/qpidmc_gtk.sh new file mode 100755 index 0000000000..7b42b9525e --- /dev/null +++ b/qpid/java/management/eclipse-plugin/bin/qpidmc_gtk.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +# + +os=`uname` +arch=`uname -p` + +$QPIDMC_HOME/bin/qpidmc.sh $os gtk $arch diff --git a/qpid/java/management/eclipse-plugin/bin/qpidmc_motif.sh b/qpid/java/management/eclipse-plugin/bin/qpidmc_motif.sh new file mode 100755 index 0000000000..49354f12f6 --- /dev/null +++ b/qpid/java/management/eclipse-plugin/bin/qpidmc_motif.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +# + +os=`uname` +arch=`uname -p` + +$QPIDMC_HOME/bin/qpidmc.sh $os motif $arch diff --git a/qpid/java/management/eclipse-plugin/src/main/resources/unix/configuration/config.ini b/qpid/java/management/eclipse-plugin/src/main/resources/unix/configuration/config.ini index d50b06cbcf..aa2d21fd48 100644 --- a/qpid/java/management/eclipse-plugin/src/main/resources/unix/configuration/config.ini +++ b/qpid/java/management/eclipse-plugin/src/main/resources/unix/configuration/config.ini @@ -24,3 +24,4 @@ eclipse.product=org.apache.qpid.management.ui.product eclipse.application=org.apache.qpid.management.ui.application
osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.core.runtime@start,com.ibm.icu,org.apache.qpid.management.ui,org.eclipse.core.commands,org.eclipse.core.contenttype,org.eclipse.core.expressions,org.eclipse.core.jobs,org.eclipse.core.runtime.compatibility.auth,org.eclipse.core.runtime.compatibility.registry,org.eclipse.equinox.preferences,org.eclipse.equinox.registry,org.eclipse.help,org.eclipse.jface,org.eclipse.swt,org.eclipse.swt.motif.linux.x86,org.eclipse.swt.gtk.linux.x86_64,org.eclipse.swt.gtk.linux.x86,org.eclipse.swt.gtk.linux.ppc,org.eclipse.swt.motif.hpux.PA_RISC,org.eclipse.swt.gtk.solaris.sparc,org.eclipse.swt.motif.solaris.sparc,org.eclipse.swt.carbon.macocx,org.eclipse.ui,org.eclipse.ui.forms,org.eclipse.ui.workbench
osgi.bundles.defaultStartLevel=4
+eof=eof
\ No newline at end of file |
