【发布时间】:2010-02-13 02:37:24
【问题描述】:
我一直不太明白这一点,因为 name 属性似乎支持空格,但每个示例都使用更难阅读的句点来命名目标。
为什么这样做:
<target name="some.target.name">
<!-- target child nodes -->
</target>
什么时候可以这样做:
<target name="Some Target Name">
<!-- target child nodes -->
</target>
这是有什么原因,还是技术限制?构建属性也是如此。他们总是使用点符号。
【问题讨论】:
标签: java ant naming-conventions target