summaryrefslogtreecommitdiff
path: root/qpid/tools/src/java/test/bin/InvokeMethodTest.sh
diff options
context:
space:
mode:
authorFraser Adams <fadams@apache.org>2013-04-08 15:19:04 +0000
committerFraser Adams <fadams@apache.org>2013-04-08 15:19:04 +0000
commit797fcaf14ca1bfeb5778cbe526b3110f256862f2 (patch)
tree052572627ac304f44bdf07458120fedf4e195ba4 /qpid/tools/src/java/test/bin/InvokeMethodTest.sh
parent7f1f7f7a01cfcbb892285dc3a7d9372d1fb1ff43 (diff)
downloadqpid-python-797fcaf14ca1bfeb5778cbe526b3110f256862f2.tar.gz
QPID-3675: Java QMF2 API, REST API, QMF GUI and Java Broker QMF Management Plugin added to <qpid>/tools/src/java
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1465662 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/tools/src/java/test/bin/InvokeMethodTest.sh')
-rwxr-xr-xqpid/tools/src/java/test/bin/InvokeMethodTest.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/qpid/tools/src/java/test/bin/InvokeMethodTest.sh b/qpid/tools/src/java/test/bin/InvokeMethodTest.sh
new file mode 100755
index 0000000000..7f4cc82362
--- /dev/null
+++ b/qpid/tools/src/java/test/bin/InvokeMethodTest.sh
@@ -0,0 +1,30 @@
+#!/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.
+#
+
+WHEREAMI=`dirname $0`
+if [ -z "$QMF2_HOME" ]; then
+ export QMF2_HOME=`cd $WHEREAMI/../../ && pwd`
+fi
+
+QMF2_LIBS=$QMF2_HOME/build/lib
+
+CLASSPATH=$QMF2_LIBS/qpid-client-patch.jar:$CLASSPATH:$QMF2_LIBS/qmf2.jar:$QMF2_LIBS/qmf2test.jar
+
+java -cp $CLASSPATH org.apache.qpid.qmf2.test.InvokeMethodTest "$@"