Details
Description
A variable definition for UserPathPanelVariable such as the following
<variables>
<variable name="UserPathPanelVariable" value="$
</variables>
is not substituted, ie '${USER_HOME}
$
{FILE_SEPARATOR}Kangas Sound Editor QI' appears as the initial value in the user path edit box.
The (workaround) fix I applied was to replace:
_pathSelectionPanel.setPath(idata.getVariable(pathVariableName));
at the end of method panelActivate in UserPathPanel.java with:
VariableSubstitutor vs = new VariableSubstitutor(idata.getVariables());
String expandedPath = vs.substitute(idata.getVariable(pathVariableName), null);
_pathSelectionPanel.setPath(expandedPath);
This has the desired effect of substituting variables in UserPathPanelVariable.
Duplicate of
IZPACK-181