Hi,
in IzPack 5 there is no global instance for the InstallData, it is held in a container instead. This container is not visible for the executable classes. So far so true.
In case you need to access variable values read-only, the new approach is adding arguments to the class by the nested <arg> element. These arguments can contain references to unresolved variables, which are resolved at runtime.
In particular, this replacement is done in com.izforge.izpack.panels.process.ProcessPanelWorker.ExecutableClass#run.
The definition should look like this:
<executeclass name="my.nice.ExtraClass">
<arg>${var-to-be-resolved}</arg>
...
</executeclass>
It is not possible to access the complete InstallData from an executable class of the ProcessPanel so far.
René
Dne úterý 11. dubna 2017 18:29:33 UTC+2 Prashant Pawar napsal(a):