ANT之macrodef
macrodef 的意思是宏定义, 可以理解为自定义函数。
对于大型部署,可以提高代码利用率。
为了方便理解,请看代码示例:
@{userID}:@{password}@@@{host}:@{toPath}
Sent @{file} to @{host}:@{toPath}
http://lhq1013.iteye.com/blog/1157234