蚂蚁的房产价值和房产位置有什么区别 [英] What‘s the difference between ant's property value and property location

查看:24
本文介绍了蚂蚁的房产价值和房产位置有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Ant 的配置文件--build.xml 具有属性元素.并且根据官方文档,该属性具有属性值和位置.但我不明白为什么我们需要位置?我可以将路径设置为属性中的值吗?那么就不需要位置了.

Ant's config file--build.xml has the property element. And according to the offical-doc,the property has the attributes-value and location. But I don't understand why we need location? Can I set the path as a value in property? Then no need for location.

推荐答案

location 用于做相对路径.

location is used if you want to do relative paths.

请注意,在此示例中,它们使用位置.不需要绝对路径.http://ant.apache.org/manual/using.html

notice in this example, they use location. no absolute path needed. http://ant.apache.org/manual/using.html

如果你在做绝对路径,可以使用位置或值(互斥)

either location or value (mutually exclusive) can be used if you're doing absolute paths

这篇关于蚂蚁的房产价值和房产位置有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆