Closed shrinandj closed 11 years ago
It seems that the tar ball that you downloaded, hasn't filtered the project.version property. Can you please provide some more details on the exact version of jclouds-cli that you downloaded?
I downloaded https://github.com/jclouds/jclouds-cli/archive/master.zipyesterday morning.
I don't see any other version info in there (no build #, no '-v' or '--version' option). Let me know if there's any I should provide (and maybe where I can find it).
-Shri
On Tue, Jan 8, 2013 at 11:35 AM, Ioannis Canellos notifications@github.comwrote:
It seems that the tar ball that you downloaded, hasn't filtered the project.version property. Can you please provide some more details on the exact version of jclouds-cli that you downloaded?
— Reply to this email directly or view it on GitHubhttps://github.com/jclouds/jclouds-cli/issues/21#issuecomment-12013253.
Shri can you try the 1.5.4 release: http://repo1.maven.org/maven2/org/jclouds/cli/jclouds-cli/1.5.4/jclouds-cli-1.5.4.tar.gz
jclouds-cli-1.5.4 worked (although I ran into some documentation issues).
The documentation for jclouds-cli says "To install the jclouds cli you just need to download the zip or the tarball and extract it to the folder of your choice". I thought the git repository comes with compiled and built executables (classes/jars) which would make it possible for the jclouds-cli to work out of the box. I don't think this is the case.
The documentation should at least point to the location where the tar balls (which have built classes/jars) are. In this case, I believe the location is http://repo1.maven.org/maven2/org/jclouds/cli/jclouds-cli/
The documentation should at least point to the location where the tar balls are
Does indeed sound like a useful addition: https://github.com/jclouds/jclouds-cli/pull/26
As per the jclouds-cli documentation, I downloaded the zip wanting to try out jclouds-cli. I am particularly interested in the blobstore commands. So I tried listing the blobs in my container. That failed with the following error.
[~:jclouds-cli-master]$ jclouds-cli blobstore list --provider aws-s3 --identity my-identity --credential my-credential my-container-name $HOME/jclouds-cli-master/assembly/src/main/filtered-resources/unix/bin/shell: line 264: $KARAF_HOME/system/org/jclouds/cli/runner/${project.version}/runner-${project.version}.jar: bad substitution
The same thing happened with "create".
FWIW, I am using Bash version 3.2 on Mac OS.
$ bash --version GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin12) Copyright (C) 2007 Free Software Foundation, Inc.
Also, I have java version 1.6. $ java -version java version "1.6.0_37" Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909) Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)