aws-ant-tasks icon indicating copy to clipboard operation
aws-ant-tasks copied to clipboard

All files are uploaded to a flat output directory

Open jessebarnum opened this issue 7 years ago • 0 comments

Is it possible to preserve the folder structure being uploaded? My ant task looks like this, and dist contains subfolders that I want to preserve in S3:

<target name="DeployToS3">
	<taskdef resource="taskdefs.xml"/>

	<upload-to-s3 bucketName="xxx" keyPrefix="" continueOnFail="false" awsAccessKeyId="xxxx" awsSecretKey="xxxx" awsRegion="us-east-2">
		<fileset dir = "WaitlistAngular/dist" includes="*"/>
	</upload-to-s3>

jessebarnum avatar Feb 22 '18 00:02 jessebarnum