ToURI task
Constructs the Uniform Resource Identifier (URI) for a file and sets it to a property.
Parameters
| Attribute | Description | Required |
|---|---|---|
| file | The file for which the URI is constructed. | Yes |
| property | The name of the property to set. | Yes |
Examples
The following example constructs
a URI for the file specified by the
dtd.file property
and sets it to the dtd.uri property.<toURI file="${dtd.file}" property="dtd.uri" />