Load variables from INI and re-evaluate value

Hi,

I have variables as below

PROJECT_PATH = 'C:\MyProject'

SOURCE_PATH = 'Trunk\Mainline\'

CURRENT_PROJECT_PATH = %PROJECT_PATH%%SOURCE_PATH%MyApplication

The content of variable SOURCE_PATH could be vary, trunk or may from branch folder. Therefore, I would like to load this variable from INI file. Added Load VAriables from INI action, and it able to load my variable.

The problem is, FB doesn't re-evaluate my CURRENT_PROJECT_PATH variable. It would still remained as 'C:\MyProject\Trunk\MainLine\MyApplication' even though my value in INI file has been changed to 'Branches\1.1.1'.

How could I solve this problem?

Thank you

 

Change the CURRENT_PROJECT_PATH variable to be a Macro variable, that will force it's default value expression to be re-evaluated every time the variable reference.



If I load in a variable from an INI file that contains a reference to another variable, it is never expanded.  And if i set it to be Macro variable, i cannot load it in from an INI file

Is there any reason why I cannot load in variables from an INI file that are defined as Macro variables? 

E.g. I would like to load both SOURCE_PATH and CURRENT_PROJECT_PATH  from an INI file and have them evaluate correctly