JoeGuzman10
04-03-2012, 09:26 AM
Visual Build Professional Version 7.7a
Hello, I am unable to implement file copy based on the Conditional Build Rule:
- Build only if macro or expression
- %COMPILE_TYPE%
- contains
- PROD
Please see attachment below to view screenshot
It always performs this step even when the condition rule fails.
Please help!
Thank you!
<step action='Run Program'>
<command>%DOSCMD% copy "%DEVVSS%\Opcon\Import Export\ImpEx.exe " "\\smautility03\data\SMA Test Versions\Utilities\ImpEx.exe"</command>
<condcompareto>PROD</condcompareto>
<condcomparison type='3'>2</condcomparison>
<condexpr>%COMPILE_TYPE%</condexpr>
<description>COMPILE_TYPE = %COMPILE_TYPE%</description>
<name>Copy Executable to Test Versions when COMPILE_TYPE = PROD</name>
<outputfrom type='3'>1</outputfrom>
</step>
Hello, I am unable to implement file copy based on the Conditional Build Rule:
- Build only if macro or expression
- %COMPILE_TYPE%
- contains
- PROD
Please see attachment below to view screenshot
It always performs this step even when the condition rule fails.
Please help!
Thank you!
<step action='Run Program'>
<command>%DOSCMD% copy "%DEVVSS%\Opcon\Import Export\ImpEx.exe " "\\smautility03\data\SMA Test Versions\Utilities\ImpEx.exe"</command>
<condcompareto>PROD</condcompareto>
<condcomparison type='3'>2</condcomparison>
<condexpr>%COMPILE_TYPE%</condexpr>
<description>COMPILE_TYPE = %COMPILE_TYPE%</description>
<name>Copy Executable to Test Versions when COMPILE_TYPE = PROD</name>
<outputfrom type='3'>1</outputfrom>
</step>