ant available 属性值作用

ant   available 属性值作用  通过路径声明一个类别名,或通过文件声明一个别名




AttributeDescriptionRequired
property要设置的属性的名称。Yes
value要设置属性的值. Defaults to "true".  默认是true
No
classnameclass类的类名称
Yes
file文件路径
resourceThe resource to look for in the JVM.看在JVM的资源。
classpathThe classpath to use when looking upclassname orresource.用于当有classname和resource属性的时候No
filepathThe path to use when looking up file.  路径当有file节点的时候
No
classpathref

The classpath to use, given as a reference to a path defined elsewhere.

classpath中使用,因为在别处定义的路径作为一个参考。

No
typeThe type of file to look for, either a directory (type="dir") or a file (type="file"). If not set, the property will be set if the name specified in the file attribute exists as either a file or a directory.No
ignoresystemclassesIgnore Ant's runtime classes, using only the specified classpath. Only affects the "classname" attribute. Defaults to "false"No
searchparentsThis contains the behaviour of the "file" type. If true, the available task will, when searching for a file, search not only the directories specified but will also search the parent directories of those specified. If false, only the directories specified will be searched. Defaults to "false". Since Ant 1.7No

                
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值