corley / aws-ant-task

Ant task implementation for Amazon Web Services
MIT License
16 stars 14 forks source link

Added Quantity field for CloudFront task required based on Amazon 2012-05-05 update #15

Closed EliEladElrom closed 11 years ago

EliEladElrom commented 11 years ago

Fix is needed see: http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/CreateInvalidation.html

"Beginning with the 2012-05-05 version of the CloudFront API, we made substantial changes to the format of the XML document that you include in the request body when you create or update a download distribution or a streaming distribution, and when you invalidate objects. With previous versions of the API, we discovered that it was too easy to accidentally delete one or more values for an element that accepts multiple values, for example, CNAMEs and trusted signers. Our changes for the 2012-05-05 release are intended to prevent these accidental deletions and to notify you when there's a mismatch between the number of values you say you're specifying in the Quantity element and the number of values you're actually specifying."

EliEladElrom commented 11 years ago

Also added the ability to add a file string instead of using the declarative tag in Ant for cases where you need to loop through a list in order to generate the list of files so you can pass the string and the java will split and process instead of using the delete tag.

wdalmut commented 11 years ago

looks great!!

actually i'm out of office for a couple of weeks. i'll review and merge asap!!

thank you so much.

walter

EliEladElrom commented 11 years ago

Thank you for sharing and writing clean code. Top notch!

Sent from Elad's Tmobile iPhone

On May 16, 2013, at 7:34 AM, Walter Dal Mut notifications@github.com wrote:

looks great!!

actually i'm out of office for a couple of weeks. i'll review and merge asap!!

thank you so much.

walter

— Reply to this email directly or view it on GitHub.

wdalmut commented 11 years ago

Thanks! ;-)