filelist 指出的文件有可能是不存在的
<filelist id="docfiles" dir="${doc.src}" files="foo.xml,bar.xml"/>文件用逗号隔开(commas)
The files ${doc.src}/foo.xml and ${doc.src}/bar.xml. Note that these files may not (yet) actually exist.
<filelist
id="docfiles"
dir="${doc.src}"
files="foo.xml
bar.xml"/>
Same files as the example above.
<filelist refid="docfiles"/>//可以采用 id 引用
Same files as the example above.
<filelist id="docfiles" dir="${doc.src}"> <file name="foo.xml"/> <file name="bar.xml"/> </filelist>//可以采用file 属性
Same files as the example above.
本文介绍了如何使用filelist配置文件,并指出了所列出的文件可能并不存在的情况。通过多个实例展示了如何利用不同属性和引用方式来定义文件列表。
2323

被折叠的 条评论
为什么被折叠?



