Ant 中的复制过滤模式是什么?

What is copy filtering mode in ant?

我正在尝试理解其他人创建的现有 ant 脚本。我注意到很多:

然而,在尝试阅读 API 或有关该主题的信息时,我能找到的最多的是:

setFiltering(boolean filtering)

Set filtering mode.

http://docs.groovy-lang.org/docs/ant/api/org/apache/tools/ant/taskdefs/Copy.html

setFiltering

public void setFiltering(boolean filtering)

Set filtering mode. Parameters: filtering - if true enable filtering; default is false.

http://docs.groovy-lang.org/docs/ant/api/org/apache/tools/ant/taskdefs/Copy.html#setFiltering(boolean)

没有对实际发生的事情进行任何解释,任何人都可以解释一下吗?

This page 有更多详细信息:

Indicates whether token filtering using the global build-file filters should take place during the copy. Note: Nested <filterset> elements will always be used, even if this attribute is not specified, or its value is false (no, or off).

以及 filters can be found here

的文档