Updated Branches: refs/heads/master af773a44f -> 69bcae467
Improved README. Fixed dir misspelling. Removed change dir. More explicit classpath. Project: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/commit/69bcae46 Tree: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/tree/69bcae46 Diff: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/diff/69bcae46 Branch: refs/heads/master Commit: 69bcae46793dab44382f94c56d5cdc15ad02d785 Parents: af773a4 Author: Everett Toews <[email protected]> Authored: Sun Sep 8 19:42:35 2013 -0500 Committer: Everett Toews <[email protected]> Committed: Sun Sep 8 19:44:31 2013 -0500 ---------------------------------------------------------------------- rackspace/README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-jclouds-examples/blob/69bcae46/rackspace/README.md ---------------------------------------------------------------------- diff --git a/rackspace/README.md b/rackspace/README.md index cdbf2e0..4025bfe 100644 --- a/rackspace/README.md +++ b/rackspace/README.md @@ -21,7 +21,7 @@ To setup an environment to compile and run the examples use these commands: ``` $ git clone https://github.com/jclouds/jclouds-examples.git -$ cd jcloud-examples/rackspace/ +$ cd jclouds-examples/rackspace/ $ pwd /Users/username/jclouds-examples/rackspace $ ls @@ -83,8 +83,7 @@ To run individual examples from the command line use these commands: Note: If you're on Windows, the only change you need to make is to use a ';' instead of a ':' in the paths. ``` -$ cd src/main/java/ -$ javac -classpath ".:../../../lib/*:../resources/" org/jclouds/examples/rackspace/*.java +$ javac -classpath "lib/*:src/main/java/:src/main/resources/" src/main/java/org/jclouds/examples/rackspace/*.java ``` Every example class has a main method that takes your username as the first argument and your API key as the second argument. The one exception to this is the Authentication example that can take an optional third argument if you want to use your password for authentication. @@ -92,7 +91,7 @@ Every example class has a main method that takes your username as the first argu Try out an example. ``` -$ java -classpath ".:../../../lib/*:../resources/" org.jclouds.examples.rackspace.cloudservers.CreateServer myUsername myApiKey +$ java -classpath "lib/*:src/main/java/:src/main/resources/" org.jclouds.examples.rackspace.cloudservers.CreateServer myUsername myApiKey ``` Watch the terminal for output!
