next up previous contents index
Next: Replace Up: Rename Previous: Parameters   Contents   Index

Examples

  <rename src="foo.jar" dest="${name}-${version}.jar"/>
Renames the file foo.jar to ${name}-$version.jar (assuming name and version being predefined properties). If a file named ${name}-$version.jar already exists, it will be removed prior to renaming foo.jar.



Andrew Marlow 2003-07-08