Examples:
<makeurl file="${user.home}/.m2/repository" property="m2.repository.url"/>Sets the property
m2.repository.url
to the file: URL of the local Maven2 repository.
<makeurl property="codebase"><fileset dir="lib includes="*.jar"/></makeurl>Set the property
codebase
to the three URLs of the files provided as nested elements.
Attribute | Description | Type | Requirement |
file | name of a file to be converted into a URL | File | optional, if a nested fileset or path is supplied |
property | name of a property to set to the URL | String | required |
separator | separator for the multi-URL option | String | optional |
validate | validate that every named file exists | boolean | optional; default: true |