...
Info |
---|
The attributes file, prefix and environment have been broken in 5.0 at the beginning, they are fixed in IzPack 5.0.11 |
Understanding Properties
IzPack properties are key-value pairs that can be used for substitution during the compilation phase, only. The scope makes the difference to variables, which are evaluated and can be seen also during the installation phase. IzPack properties will not be visible during the execution of the compiled installer. Properties have been thought to be a clearly visible compile-time "variable" in IzPack XML descriptors with a different notation.
...
Properties can be used to set up an installer build in the source code.
Using Properties
Properties can be explicitely set in the installer descriptor.
...
WIthin a Maven build environment, there are automatically visible Maven user properties defined in the POM.
Setting Properties
Explicit Properties
Explicit properties can be defined by the user using the <properties> element as a child of the <installation>
element.
...
Note | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are two ways to define a property in Maven:
They are handled different in the Maven plugin:
|
Reading/Substituting Properties
IzPack properties can be referenced in the installation specification by a leading 'at' placeholder followed by the property name (for example @my.prop.name).
...