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