Difference between revisions of "Include and Exclude Patterns"
(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...") |
|||
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
resources
then the Include Pattern would be**/resources/**
- If there is a file such as
config.properties
which is not a resource file, then the Exclude Pattern would look like**/config.properties