<checksum> This task takes a set of input files in a fileset and calculates a checksum for each of them. You can specify the algorithm to use when calculating the checksum value (MD5 or SHA1, for example). The calculated value is saved to a file with the same name as the input file and an added extension either based on the algorithm name (e.g., .MD5) or whatever is specified through the fileext attribute.Attribute | Description | Required |
---|
algorithm | Can be MD5 or SHA1. | True | fileext | File extentions when not using filesets. | False | failonerror | Determines whether task failure stops the build or is just reported. Default is "true." | False | verbose | Task reports detailed build log messages. Default is "false." | False | if | If true then the task will be executed; otherwise skipped. Default is "true." | False | unless | Opposite of if. If false then the task will be executed; otherwise skipped. Default is "false." | False |
Example <checksum algorithm="MD5" fileext="MD5"> <fileset> <includes name="${outputdir}\*.dll"/> </fileset> </checksum>
|