From commits-return-7032-apmail-airavata-commits-archive=airavata.apache.org@airavata.apache.org Wed Sep 10 20:42:45 2014 Return-Path: X-Original-To: apmail-airavata-commits-archive@www.apache.org Delivered-To: apmail-airavata-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6E49711237 for ; Wed, 10 Sep 2014 20:42:45 +0000 (UTC) Received: (qmail 54474 invoked by uid 500); 10 Sep 2014 20:42:45 -0000 Delivered-To: apmail-airavata-commits-archive@airavata.apache.org Received: (qmail 54434 invoked by uid 500); 10 Sep 2014 20:42:45 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 54425 invoked by uid 99); 10 Sep 2014 20:42:45 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2014 20:42:45 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 0613E88856F; Wed, 10 Sep 2014 20:42:45 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mpierce@apache.org To: commits@airavata.apache.org Message-Id: <7ff5919bb84542b8b5ab6e60b3765581@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: Explaining how to set the classpath Date: Wed, 10 Sep 2014 20:42:45 +0000 (UTC) Repository: airavata Updated Branches: refs/heads/master f15a9d739 -> 2936cea04 Explaining how to set the classpath Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/2936cea0 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/2936cea0 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/2936cea0 Branch: refs/heads/master Commit: 2936cea043b9b4d12a3eee3a1b509f3c2e5fa513 Parents: f15a9d7 Author: marpierc Authored: Wed Sep 10 16:42:35 2014 -0400 Committer: marpierc Committed: Wed Sep 10 16:42:35 2014 -0400 ---------------------------------------------------------------------- tools/gsissh-cli-tools/README.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/2936cea0/tools/gsissh-cli-tools/README.txt ---------------------------------------------------------------------- diff --git a/tools/gsissh-cli-tools/README.txt b/tools/gsissh-cli-tools/README.txt index 5ead965..bc352dd 100644 --- a/tools/gsissh-cli-tools/README.txt +++ b/tools/gsissh-cli-tools/README.txt @@ -1,5 +1,9 @@ This tool contains clients to airavata/tools/gsissh libraries. To compile, you must first run "mvn clean install" in airavata/tools/gsissh. Then run "mvn clean install" in airavata/tools/gsissh-cli-tools. -To run the SSHApiClientWithMyProxyAuth tool, use the following command line: +To run the SSHApiClientWithMyProxyAuth tool, first add all the jars in target/lib to a variable that you'll use when setting your classpath: + +export CP=`echo ./target/lib/*.jar | tr ' ' ':'` + +Then use the following command line: java -classpath ./target/gsissh-cli-tools-0.14-SNAPSHOT.jar:$CP -Dmyproxy.server=myproxy.teragrid.org -Dmyproxy.username= -Dmyproxy.password= -Dmyproxy.cert.location=/airavata/tools/gsissh-cli-tools/target/classes/certificates/ -Dremote.host=trestles.sdsc.xsede.org -Dremote.host.port=22 -Dremote.cmd=/bin/ls org.apache.airavata.gsi.ssh.cli.SSHApiClientWithMyProxyAuth