<checksum>
The <checksum> task enables you to generate checksums for a set of files using a specified algorithm. Checksum verification can also be performed using this task.
For example, this can be used to generate checksum files for distributions. You’ll see that you can download checksums for the Ant files.
Table 4.10 gives a rundown of the attributes for this task.
Attributes | Description |
---|---|
Required | |
file (unless a nested fileset is specified) | The file to generate the checksum for. |
Optional | |
algorithm | The algorithm to use to generate the checksum value. Defaults to MD5. |
fileext | The file extension to use for the generated checksum file. Defaults to the name of the algorithm being used. |
property | The property ... |
Get Ant Developer’s Handbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.