Include and Exclude Patterns: Difference between revisions

From Lingoport Wiki
Jump to navigation Jump to search
Rdaly (talk | contribs)
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..."
 
Rdaly (talk | contribs)
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:

  1. If all the resource files are in a folder called resources then the Include Pattern would be **/resources/**
  2. If there is a file such as config.properties which is not a resource file, then the Exclude Pattern would look like **/config.properties