使用嵌套的exludefile使用嵌套copy task fileset。
来自ant手册FileSet:
excludesfile =>文件名;这个文件的每一行都被带到了
是排除模式。
摘录:
<target name="foo">
<copy todir="path/to/destDir">
<fileset dir="path/to/sourceDir">
<excludesfile name="excludelist.txt"/>
</fileset>
</copy>
</target>