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.