您的位置:首页 > 其它

Ant 学习笔记

2006-09-04 14:34 459 查看
A project has three attributes:

AttributeDescriptionRequired
namethe name of the project.No
defaultthe default target to use when no target is supplied.Yes.
basedirthe base directory from which all path calculations are done. This attribute might be overridden by setting the "basedir" property beforehand. When this is done, it must be omitted in the project tag. If neither the attribute nor the property have been set, the parent directory of the buildfile will be used.No
A target has the following attributes:

AttributeDescriptionRequired
namethe name of the target.Yes
dependsa comma-separated list of names of targets on which this target depends.No
ifthe name of the property that must be set in order for this target to execute.No
unlessthe name of the property that must not be set in order for this target to execute.No
descriptiona short description of this target's function.No
 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ant attributes path list