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 2003/06/13 23:30:26 UTC
DO NOT REPLY [Bug 20767] New: -
totalproperty and todir attributes for checksum task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20767>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20767
totalproperty and todir attributes for checksum task
Summary: totalproperty and todir attributes for checksum task
Product: Ant
Version: 1.6Alpha (nightly)
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: aslak@thoughtworks.net
This patch adds two useful optional attributes to the chacksum task:
totalproperty="someprop" -> This will store an aggregated checksum for all
checksums (plus the relative filenames in the passed fileset(s). This is useful
for creating a checksum for a set of files.
todir="somedir" -> This will write the checksum files to a different directory.
This is useful if you want to avoid polluting the folders containing the files
for which checksums are calculated.
Finally, all references to md5 files have been renamed from *.md5 to *.MD5,
since this is the correct case for the generated files.
This patch includes source, testcases and updated documentation. Tested on
WinXP and Linux.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org