PDA

View Full Version : Macro not translating in Batch File step


JaysonB
03-10-2009, 07:49 PM
I am using a macro in a Batch File action parameter and it isn't getting transated to it's value. I know I didn't fat-finger the macro because when I hover over the macro it shows the translated value. Also, I use a macro in the File field and it seems to translate fine.

I selected to "Log the command-line that is used" to see the exact command line and here is what it outputs. The BUILD_ROOT macro is the problem child:

cmd /Q /C call "C:\Program Files\xSQL Software\xSQL Bundle\xSQLObjectCmd.exe " %BUILD_ROOT%\Ssc\SscKit\CreateSchema.xml

Are macros not supported in batch parameters?

kinook
03-11-2009, 07:17 AM
It is a bug that macros in that field aren't expanded. This is fixed in the latest download (VisBuildAct.dll 7.1.0.2 in Help | About | Install Info after installing). Thanks.