Bug 42594

Summary: add a <checksummed> resource which can checksum a resource
Product: Ant Reporter: Steve Loughran <stevel>
Component: Core tasksAssignee: Ant Notifications List <notifications>
Status: NEW ---    
Severity: enhancement    
Priority: P2    
Version: 1.8.2   
Target Milestone: ---   
Hardware: Other   
OS: other   

Description Steve Loughran 2007-06-05 14:41:52 UTC
This is just an idea I'm writing down to implement later. 

Imagine a resource that takes a nested resource and a md5 or sha1 value (again,
possibly from a resource). This would let you embed checksum checking inside
other operations. 

<copy todir="lib">
     <url url="http://example.org/something.jar" />
     <url url="https://trusted.resource/something.jar.sha1"/>

We cold use this to do checksum validation in fetch.xml

Not sure about the right name for this. <sha1resource> and <md5resource> may be