Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Conditional Build Rule Not Working (https://www.kinook.com/Forum/showthread.php?t=4991)

JoeGuzman10 04-03-2012 09:26 AM

Conditional Build Rule Not Working
 
1 Attachment(s)
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!


%DOSCMD% copy "%DEVVSS%\Opcon\Import Export\ImpEx.exe " "\\smautility03\data\SMA Test Versions\Utilities\ImpEx.exe"
PROD
2
%COMPILE_TYPE%
COMPILE_TYPE = %COMPILE_TYPE%
Copy Executable to Test Versions when COMPILE_TYPE = PROD
1

kinook 04-03-2012 06:29 PM

If this doesn't help: http://www.kinook.com/Forum/showthread.php?t=927

Please send the details requested at http://www.kinook.com/Forum/showthread.php?t=3044

Thanks.

JoeGuzman10 04-04-2012 01:16 PM

I Worked! (Shift+F8)
 
Thank you!

By executing step 1 on the step fixed the issue.

1) Select the Process Files step or step with a build rule and choose Rebuild Step Group (Shift+F8).


All times are GMT -5. The time now is 04:33 AM.


Copyright © 1999-2023 Kinook Software, Inc.