S3 Upload
I'm attempting to upload a static website to s3 using the latest version of this project at this time, 1.2.4.
Here is an example of my task that uploads to the bucket. In this example I would expect that all of the contents, including directories, of the local set would be uploaded to the S3 bucket-object with the specified keyPrefix with structure remaining intact.
<upload-to-s3 bucketName="some-bucket" keyPrefix="content/"> <fileset dir="${base-path}/content" includes="**" /> </upload-to-s3>
I'm only able to get the top level keyPrefix to upload as a "directory". Subdirectories are not uploading and all files from all sub directories of /content are uploaded to the specified keyPrefix of content/ regardless of the applicable Ant patterns.
I'd like to be able to upload content and directory structure without having to specify every sub directory. Can I do that with this project as is?