Passing user variables to a ZAPP file
ZAPP files can be tagged with variables to make them more
versatile for various users and development environments. A user variable in a ZAPP file has the
format
${variableName}. If you are unsure what variable names are used in the ZAPP
file, ask your build engineer. If the ZAPP file that configures the user build for
application includes user variables, you can use the ZAPP User Variables
preference page to pass values to the ZAPP file.
Limitations:
- Do not use this preference page to pass user variables to the
propertyGroups:configurations in a ZAPP file. Property groups defined in ZAPP files do not support variable substitution.
To define user variable values for a ZAPP file:
- On the Preferences window, select ZAPP User Variables.
- To add a user variable and value, click Add. The ZAPP User Build Create Mapping window opens.
- Type a variable name and value in the fields, and then click
OK. In the Variable field, include only the variable
name. Do not enclose the name in
${ }. For example, if the ZAPP file uses the variable${myVar}, type myVar into the Variable field. - You can also use the Edit and Remove buttons to change or delete a variable and value pair from the window.