Include and Exclude Patterns: Difference between revisions
Jump to navigation
Jump to search
Created page with " File:IncludeExcludePatterns This is used to denote resource locations or to verify that other files are not mistaken for resource files. For example: # If all the res..." |
No edit summary |
||
| Line 1: | Line 1: | ||
[[File:IncludeExcludePatterns]] | [[File:IncludeExcludePatterns.jpg|700px|center]] | ||
This is used to denote resource locations or to verify that other files are not mistaken for resource files. | This is used to denote resource locations or to verify that other files are not mistaken for resource files. | ||
For example: | For example: | ||
# If all the resource files are in a folder called <code>resources</code> then the Include Pattern would be <code>**/resources/**</code> | # If all the resource files are in a folder called <code>resources</code> then the '''Include Pattern''' would be <code>**/resources/**</code> | ||
# If there is a file such as <code>config.properties</code> which is not a resource file, then the Exclude Pattern would look like <code>**/config.properties</code> | # If there is a file such as <code>config.properties</code> which is not a resource file, then the '''Exclude Pattern''' would look like <code>**/config.properties</code> | ||
Revision as of 17:40, 31 August 2023

This is used to denote resource locations or to verify that other files are not mistaken for resource files.
For example:
- If all the resource files are in a folder called
resourcesthen the Include Pattern would be**/resources/** - If there is a file such as
config.propertieswhich is not a resource file, then the Exclude Pattern would look like**/config.properties