(Optional) The name and value of environment variables.
The <env> element specifies the name and value of environment variables. For example, you can use the LD_LIBRARY_PATH environment variable to specify the name of the linker variable used by the OS to find shared libraries required by the application. In addition, you can use custom environment variables where the use of program arguments aren't possible.
For instance, you can set LD_LIBRARY_PATH to a value of app/native/lib to specify where to find the required binaries.
|value||(Required) Specifies the value for the environment variable, such as app/native/lib.||A string that uniquely identifies the value within the bar-descriptor.xml file. The string value must contain only digits, letters, white-spaces, and underscores, and they must begin with a letter or underscore.||None|
|var||(Required) Specifies the name of the environment variable, such as LD_LIBRARY_PATH.||A string that uniquely identifies the variable within the bar-descriptor.xml file. The string value contains only digits, letters, and underscores, and they must begin with a letter or underscore.||None|
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>
Last modified: 2014-06-24