> + uploadDirToCDN.init(args);
> + uploadDirToCDN.uploadDirectory(args[2], args[3]);
> + uploadDirToCDN.enableCdnContainer(args[3]);
> + }
> + catch (Exception e) {
> + e.printStackTrace();
> + }
> + finally {
> + uploadDirToCDN.close();
> + }
> + }
> +
> + private void init(String[] args) {
> + // The provider configures jclouds To use the Rackspace Cloud (US)
> + // To use the Rackspace Cloud (UK) set the provider to "cloudfiles-uk"
> + String provider = "cloudfiles-us";
Pull this up into a constant, perhaps also a `System.getProperty` with a
default for easier overriding?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/11/files#r5438261