多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# D.6 PatternSet The PatternSet data type defines patterns that can be grouped into sets and nested into [FileSets](apds04.html "D.4 FileSet"). Patterns can be specified by nested <include> or <exclude> elements. Table D.5:聽 Attributes for `<patternset>` tag NameTypeDescriptionDefaultRequired`includes``String`Comma- or space-separated list of patterns of files that must be included; all files are included when omitted.n/aNo`includesfile``String`The name of a file; each line of this file is taken to be an include pattern.n/aNo`excludes``String`comma- or space-separated list of patterns of files that must be excluded; no files (except default excludes) are excluded when omitted.n/aNo`excludesfile``String`The name of a file; each line of this file is taken to be an exclude pattern.n/aNo D.6.1 Usage Example ``` <patternset id="no.tests"> <include name="**/*.php"/> <exclude name="**/*Test*"/> </patternset> ``` D.6.2 Nested tags The `<patternset>` tag only supports `<include>` and `<exclude>`. The `<include>` and the `<exclude>` tags must have a `name` attribute that contains the [pattern](apds04.html#patterns "D.4.1 Using wildcards") to include/exclude.