企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# G.12 Majority The `<majority>` tag selects files provided that a majority of the contained elements also select it. Ties are dealt with as specified by the `allowtie` attribute. ``` <fileset dir="${src}" includes="**/*.php"> <majority> <contains text="project" casesensitive="false"/> <contains text="taskdef" casesensitive="false"/> <contains text="BaseSelector" casesensitive="true"/> </majority> </fileset> ``` Table G.11:聽 Attributes for the `<majority>` selector container NameDescriptionDefaultRequired`allowtie`Whether files should be selected if there are an even number of selectors selecting them as are not selecting them.`true`No