<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 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>

Last modified: 2015-03-31



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus