Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

back to compiling.

  • Loading branch information...
commit 411a4815351dd7e98d7a7ca452c170c3fd0f9185 1 parent 3f3843a
BuzzTroll authored
View
3  .idea/compiler.xml
@@ -20,5 +20,8 @@
</wildcardResourcePatterns>
<annotationProcessing enabled="false" useClasspath="true" />
</component>
+ <component name="JavacSettings">
+ <option name="MAXIMUM_HEAP_SIZE" value="256" />
+ </component>
</project>
View
13 service/client/java/source/src/org/globus/workspace/cloud/client/util/CumulusTask.java
@@ -395,14 +395,17 @@ protected String makeBar(long sofar, long total)
bar = bar + "] " + percent + "% ";
return bar;
- }
-
+ }
public void updateBytesTransferred(
long byteCount)
{
super.updateBytesTransferred(byteCount);
+ this.flush();
+ }
+ public void flush()
+ {
long total = getBytesToTransfer();
long sent = getBytesTransferred();
@@ -746,14 +749,14 @@ private S3Service getService()
private boolean keyExists(
S3Service s3Service,
- String bucket,
+ String baseBucketName,
String keyName)
throws S3ServiceException
{
boolean exists = false;
try
{
- exists = s3Service.isObjectInBucket(baseBucketName, keyNameOwner);
+ exists = s3Service.isObjectInBucket(baseBucketName, keyName);
}
catch(S3ServiceException s3ex)
{
@@ -786,7 +789,7 @@ public String getImagePath(
return keyNameOwner;
}
// if not found check to see if the image is in the common space
- keyNameCommon = this.makeKey(vmName, "common");
+ String keyNameCommon = this.makeKey(vmName, "common");
exists = this.keyExists(s3Service, baseBucketName, keyNameCommon);
if(exists)
{
Please sign in to comment.
Something went wrong with that request. Please try again.