diff options
| author | Lahiru Gunathilake <lahiru@apache.org> | 2008-10-07 09:07:34 +0000 |
|---|---|---|
| committer | Lahiru Gunathilake <lahiru@apache.org> | 2008-10-07 09:07:34 +0000 |
| commit | cc4c4be4b6b7c4a4fdfe22de9d9f40974f7d6971 (patch) | |
| tree | 1a713368ba8ab8ce222e23fe1760d1e01ea2d559 /java/management/tools/qpid-cli/bin | |
| parent | cdd462bf0c1d899f46d2b72615408f183e6a952e (diff) | |
| download | qpid-python-cc4c4be4b6b7c4a4fdfe22de9d9f40974f7d6971.tar.gz | |
committing qpid-cli for the first time.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@702402 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/management/tools/qpid-cli/bin')
| -rwxr-xr-x | java/management/tools/qpid-cli/bin/qpid-cli | 34 | ||||
| -rwxr-xr-x | java/management/tools/qpid-cli/bin/qpid-cli.bat | 27 |
2 files changed, 61 insertions, 0 deletions
diff --git a/java/management/tools/qpid-cli/bin/qpid-cli b/java/management/tools/qpid-cli/bin/qpid-cli new file mode 100755 index 0000000000..ca1d55c696 --- /dev/null +++ b/java/management/tools/qpid-cli/bin/qpid-cli @@ -0,0 +1,34 @@ +#!/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. +# +# set classpath to using jar files +for f in $QPID_CLI/lib/*.jar +do + CLASSPATH=$CLASSPATH:$f +done +export CLASSPATH + + + +export CLASSPATH=$CLASSPATH:$QPID_CLI/build/main/classes/ +echo $CLASSPATH + + + +java -classpath $CLASSPATH org.apache.qpid.CommandLineInterpreter $@ diff --git a/java/management/tools/qpid-cli/bin/qpid-cli.bat b/java/management/tools/qpid-cli/bin/qpid-cli.bat new file mode 100755 index 0000000000..fe83b01184 --- /dev/null +++ b/java/management/tools/qpid-cli/bin/qpid-cli.bat @@ -0,0 +1,27 @@ +@REM +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with 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, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM +set CLASSPATH=%CLASSPATH%;%QPID_CLI%/lib/jline-0.9.94.jar +set CLASSPATH=%CLASSPATH%;%QPID_CLI%/lib/junit-4.4.jar +set CLASSPATH=%CLASSPATH%;%QPID_CLI%/lib/qpid-cli-1.0.jar +set CLASSPATH=%CLASSPATH%;%QPID_CLI%/build/main/classes/ +java -classpath %CLASSPATH% org.apache.qpid.CommandLineInterpreter %1 + + + + |
