View Single Post
  #10  
Old 02-01-2011, 10:05 AM
vlad2135 vlad2135 is online now
Registered User
 
Join Date: 02-01-2011
Posts: 6
Thanks a lot for prompt reply. Yes, your sample works but I've managed to modify it according to my requirements and reproduce the problem.

As I've said before, I load all macros from xml file into global macros. After that I iterate output of vbld_AllMacros() function (crucial!!) and add steps to temporary project.
This way it does not work!

But if I load macros from file into temporary macros and iterate vbld_TempMacros(), then everything works just fine!

But I need to import my macros as globals, because they must have lowest priority to be able to be overloaded by project macros.

Anyway, your project, modified and not working, attached to this post. Also source macros file and test cmd file (just for the sake of problem report completeness). You'll only have to remove\replace absolute paths to these files.
Attached Files
File Type: zip envvar2.zip (2.0 KB, 354 views)
Reply With Quote