PDA

View Full Version : Macro in step name not translated when logged


Dave_Novak
08-03-2006, 06:49 AM
When I set up a “loop” in VBP, I like to include the loop variable as part of the step name so that I can easily see where I’m at. Here is an example of a loop that uses a macro in the step name:

....Set RELEASE_PROJECT_LIST macro
....For Each Project in RELEASE_PROJECT_LIST...
........Set NEXT_PROJECT macro
........Build Project: %NEXT_PROJECT%

When running VBP through the GUI, the tooltip for the step “Build Project: %NEXT_PROJECT%” correctly translates %NEXT_PROJECT% into its current value. However, when I look at this step in the log file, it is written as “Build Project: %NEXT_PROJECT%”.

Is there any way to tell the logger to translate the step name to show the actual embedded macro value? This would be very useful for logging purposes.

kinook
08-03-2006, 01:33 PM
The v6.2 beta build correctly expands macros and/or script in the step name when logging.
http://www.kinook.com/Forum/showthread.php?threadid=1973

Dave_Novak
08-03-2006, 05:45 PM
Happy to hear that will be supported. I'll just leave my code "as is" and wait for the next release.