> +object Main {
> +
> + def main(args: Array[String]) {
> + require(args.length == 1,"Invalid number of parameters. Syntax is:
> \"basedirectory\" ")
> +
> + val baseDir=args(0)
> +
> + //Base directory property
> + val properties=new java.util.Properties()
> + properties.setProperty(FilesystemConstants.PROPERTY_BASEDIR,baseDir)
> +
> + val context = ContextBuilder.newBuilder("filesystem")
> + .overrides(properties)
> + .buildView(classOf[BlobStoreContext])
> +
> + try {
I am unable to find alternative for this. Can you please suggest one?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/4/files#r4539968