Bug 42594 - add a <checksummed> resource which can checksum a resource
Summary: add a <checksummed> resource which can checksum a resource
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.8.2
Hardware: Other other
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
Depends on:
Reported: 2007-06-05 14:41 UTC by Steve Loughran
Modified: 2010-12-27 11:13 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
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