Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-01-2004, 08:49 AM
mvermeulen mvermeulen is online now
Registered User
 
Join Date: 07-15-2003
Posts: 56
Send a message via Yahoo to mvermeulen
Conditional Build Problem

I have been trying to use a conditional build rule to only run the step upon a successful test for a particular folder. For my test, the folder does NOT exist. It is running the step regardless of whether the folder exists or not.

[vbld_FSO.FolderExists("D:\App\")] is true.

The step is a copy function and since the folder does not exist, the step fails when it can't find the path specified.

I am using project macros so the actual statement looks more like
[vbld_FSO.FolderExists("%appspacepath%\%appname1%\% appversion1%\")]. The substitution seems to be working properly and I have run the test with the hardcoded path as well. Still ignores.

???? Any help would be appreciated.
Reply With Quote
  #2  
Old 06-01-2004, 10:06 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,024
If you hold down Shift when mousing over the script expression in the step properties dialog, all macros and script will be evaluated for display in the tooltip (a value of -1 equates to True).

Also, make sure you aren't building via Rebuild Selected: http://www.kinook.com/Forum/showthread.php?threadid=240
Reply With Quote
  #3  
Old 06-01-2004, 10:15 AM
mvermeulen mvermeulen is online now
Registered User
 
Join Date: 07-15-2003
Posts: 56
Send a message via Yahoo to mvermeulen
Exactly the information I needed. Thank you!
Reply With Quote
Reply


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 11:09 PM.


Copyright © 1999-2023 Kinook Software, Inc.