Skip to content
Permalink
Browse files
JCLOUDS-158: jclouds version to 1.6.1-incubating, Scala version to 2.…
…10.2

Also minor formatting changes to README and usage message
  • Loading branch information
demobox committed Jun 29, 2013
1 parent f44cd33 commit f9bb4b208e41357c140db5e0b05050df53515980
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
@@ -12,7 +12,7 @@ Run `sbt` from the root of your project and invoke
```
run <basedir> <containername> <blobname>
```
where <em>basedir</em> is a directory in which the container will be created. E.g. if your basedir is `/home/blobstore` and you want to store "myblob" in "mycontainer", run
where <em>basedir</em> is a directory in which the container will be created. E.g. if your basedir is `/home/blobstore` and you want to store _myblob_ in _mycontainer_, run
```
run /home/blobstore mycontainer myblob
```
@@ -1,10 +1,10 @@
name := "blobstore-scala-filesystem"

scalaVersion := "2.10.1"
scalaVersion := "2.10.2"

version := "1.0-SNAPSHOT"

libraryDependencies ++= Seq( "org.jclouds.api" % "filesystem" % "1.6.0",
libraryDependencies ++= Seq( "org.apache.jclouds.api" % "filesystem" % "1.6.1-incubating",
"com.google.code.findbugs" % "jsr305" % "1.3.+",
"com.jsuereth" %% "scala-arm" % "1.3"
)
@@ -24,12 +24,12 @@ import resource._
/**
* Demonstrates the use of the filesystem [[org.jclouds.blobstore.BlobStore]] in Scala
*
* Usage is: run \"basedir\" \"containername\" \"blobname\"
* Usage is: run &lt;basedir&gt; &lt;containername&gt; &lt;blobname&gt;
*
* @author adisesha
*/
object Main extends App {
require(args.length == 3, "Invalid number of parameters. Usage: run \"basedir\" \"containername\" \"blobname\"")
require(args.length == 3, "Invalid number of parameters. Usage: run <basedir> <containername> <blobname>")

val basedir = args(0)
val containerName = args(1)

0 comments on commit f9bb4b2

Please sign in to comment.