You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/06/05 23:41:53 UTC

DO NOT REPLY [Bug 42594] New: - add a resource which can checksum a resource

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42594>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42594

           Summary: add a <checksummed> resource which can checksum a
                    resource
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: stevel@apache.org


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">
 <checksummedresource>
   <source>
     <url url="http://example.org/something.jar" />
   </source>
   <sha1sum>
     <url url="https://trusted.resource/something.jar.sha1"/>
   </sha1sum>
  </checksummedresource>
</copy>

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

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

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org