<include>

(Optional) The files to be included in the BAR file only if they match the filter pattern specified in the "name" attribute of the element

Parent elements:

<asset>

Child elements:

None.

Description:

The <include> element specifies the files to be included in the BAR file only if they match the filter pattern specified in the "name" attribute of the element.

Content:

None.

Attributes:

Name Description Values Default
name (Required) Specifies the string patterns to use for including files. Use the following tokens to match string values:
  • Asterisk(*): To match zero or more characters.
  • Question mark (?): To match one character.
  • Double asterisk (**): To match zero or more directories or folders.
For example:
  • *.png matches .png, x.png and FooBar.png, but not FooBar.xml (does not end with .png).
  • ?.png matches x.png, A.png but not .png or xyz.png (neither don't has one character before .png).
  • **png matches x.png, FolderA/x.png or any files that match png within a folder structure.
None

Example:

<asset path="Device-Debug/FolderA" 
          type="Qnx/Elf" 
          dest="HelloWorkdDisplayManaged">
    <include name="App?.png" />
</asset>
                    
comments powered by Disqus