Include and Exclude Patterns: Difference between revisions

From Lingoport Wiki
Jump to navigation Jump to search
Rdaly (talk | contribs)
No edit summary
Rdaly (talk | contribs)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
[[File:IncludeExcludePatterns.jpg|700px|center]]
[[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.  To remove a directory from either the Include or Exclude patterns, hover over the respective row and select the red trash icon


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 Patterns''' 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 Patterns''' would look like <code>**/config.properties</code>


Select '''Next'''
Select '''Next'''


[[Optional Localyzer Settings|Step 9: Optional Advanced Localyzer Settings]]
[[Optional Localyzer Settings|Step 9: Optional Advanced Localyzer Settings]]
[[Resource File(s) Format |<== Back to Step 7: Resource file formats]]

Latest revision as of 22:33, 13 September 2023

This is used to denote resource locations or to verify that other files are not mistaken for resource files. To remove a directory from either the Include or Exclude patterns, hover over the respective row and select the red trash icon

For example:

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

Select Next

Step 9: Optional Advanced Localyzer Settings


<== Back to Step 7: Resource file formats