Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-03-2012, 10:26 AM
JoeGuzman10 JoeGuzman10 is online now
Registered User
 
Join Date: 04-02-2012
Posts: 2
Conditional Build Rule Not Working

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>
Attached Images
 

Last edited by JoeGuzman10; 04-03-2012 at 02:28 PM.
Reply With Quote
  #2  
Old 04-03-2012, 07:29 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,223
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.
Reply With Quote
  #3  
Old 04-04-2012, 02:16 PM
JoeGuzman10 JoeGuzman10 is online now
Registered User
 
Join Date: 04-02-2012
Posts: 2
Smile 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).
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 10:13 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Copyright 1999-2014 Kinook Software, Inc.