How to make work together an Ant filelist inside an Ant copy
问题 I would like to use the result of the following filelist (Ant): <filelist id="docfiles" dir="doc"> <file name="foo.xml"/> <file name="bar.xml"/> </filelist> into the following copy : <copy todir="folder"> ??? </copy> I have already tried to put them together like: <copy todir="folder"> <filelist id="docfiles" dir="doc"> <file name="foo.xml"/> <file name="bar.xml"/> </filelist> </copy> But Ant answer that FileLists is not supported in a such task. Thanks. 回答1: As specified in the latest Ant