concept string value in category ant

appears as: string values, string value, String value
Ant in Action

This is an excerpt from Manning's book Ant in Action.

One of the most important concepts in Ant is that of properties. Ant properties contain string values that can be used wherever a string is needed in a build file. They can be set in tasks or on the command line, and can both control the build process and configure it.

Ignoring XML namespaces, an XML attribute consists of a name and a string value. Ant takes the value of each attribute and expands all properties with Project.replaceProperties() to create the expanded string. It searches for all methods with the name of the attribute prefixed by “set”. For our <filesize> task, the property attribute is mapped to the setProperty method: