Cannot modify INSTALL_PATH before TargetPanel gets called

Description

TargetPanel was modified in order to take variables out of the install definition (Target.dir.os)
A nice feature would be to allow modifying the target path within user panels called before the target panel. This is impossible right now

After investigation, I noticed that the code loading the variables out of the install.xml file is called through the constructor.

Instead, I propose to call that code through the panelActivated() method which was created for this purpose

I issued a patch with this issue. I tested the patch which works

  • created a user panel that let the user select some kind of "target environment" ie development or production

  • that panel is the first to be called

  • modified installer.xml so the TargetPanel.dir variable is using the variable defined in the first user panel

  • tested the installer, the default install directory changes as expected

Environment

Linux, Windows,...

Assignee

Former user

Reporter

Former user

Impact

None

Components

Fix versions

Affects versions

Priority

Highest
Configure