ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42594] New: - add a <checksummed> resource which can checksum a resource
Date Tue, 05 Jun 2007 21:41:53 GMT
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


Mime
View raw message