Attribute | Description | Required
|
---|---|---|
file | The file to generate checksum for. | One of either file or at least one nested fileset element. |
algorithm | Specifies the algorithm to be used to compute the checksum. Defaults to "MD5". Other popular algorithms like "SHA" may be used as well. | No |
provider | Specifies the provider of the algorithm. | No |
fileext | The generated checksum file's name will be the original filename with "." and fileext added to it. Defaults to the algorithm name being used. | No |
property | This attribute can mean two different things, it depends on the presence of the verifyproperty attribute. If you don't set the verifyproperty attribute, property specifies the name of the property to be set with the generated checksum value. If you set the verifyproperty attribute, property specifies the checksum you expect to be generated (the checksum itself, not a name of a property containing the checksum). This cannot be specified when fileext is being used or when the number of files for which checksums is to be generated is greater than 1. | No |
forceoverwrite | Overwrite existing files even if the destination files are newer. Defaults to "no". | No |
verifyproperty | Specifies the name of the property to be set with "true" or "false" depending upon whether the generated checksum matches the existing checksum. When this is set, the generated checksum is not written to a file or property, but rather, the content of the file or property is used to check against the generated checksum. | No |
readbuffersize | The size of the buffer )in bytes) to use when reading a file. Defaults to "8192" - you may get a better performance on big files if you increase this value. | No |