Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2 from cemerick/master

don't prepend the bucket name to the file's path
  • Loading branch information...
commit 50726455670e5a2ff7abab99c8660e92a1f9f3fa 2 parents 37346cf + 747b785
Scott Clasen sclasen authored
2  src/main/java/org/springframework/aws/maven/PrivateS3Wagon.java
View
@@ -88,7 +88,7 @@ private String getDestinationPath(String destination) {
@Override
protected void putResource(File source, String destination, TransferProgress progress) throws S3ServiceException, IOException {
buildDestinationPath(getDestinationPath(destination));
- S3Object object = new S3Object(this.bucket + destination);
+ S3Object object = new S3Object(this.basedir + destination);
object.setAcl(AccessControlList.REST_CANNED_PRIVATE);
object.setDataInputFile(source);
object.setContentLength(source.length());
Please sign in to comment.
Something went wrong with that request. Please try again.