Apache Ant Length Task
This tasks is used to set length property of any string or file. It can also be used for display property value or as a condition.
It has various attributes which are given below.
Apache Ant Length Task Attributes
Lets see some example in which we are setting length of string and file too.
Apache Ant Length Task Example
Storing String Length:
Storing File Length:
Storing file path and their length into length property.