shortened thanks aslak

git-svn-id: http://jclouds.googlecode.com/svn/trunk@2610 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
adrian.f.cole 2010-01-06 04:05:49 +00:00
parent aab7fd12dc
commit 159bae5564
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class ShrinkBlob < Task
java.lang.Thread.currentThread().setContextClassLoader(ServiceExtensionLoader.new().getClass().getClassLoader())
print "creating the archive from ",@dir,"\n"
zipStream = Archives.create(@zip, ZipExporter.java_class).as(ExplodedImporter.java_class).importDirectory(@dir).as(ZipExporter.java_class).exportZip()
zipStream = Archives.create(@zip, ExplodedImporter.java_class).importDirectory(@dir).as(ZipExporter.java_class).exportZip()
destination = HttpUtils.createUri(@blobstore)
print "connecting to service ",destination.getHost(),"/",@container,"\n"