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 Problem (https://www.kinook.com/Forum/showthread.php?t=462)

mvermeulen 06-01-2004 08:49 AM

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.

kinook 06-01-2004 10:06 AM

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

mvermeulen 06-01-2004 10:15 AM

Exactly the information I needed. Thank you!


All times are GMT -5. The time now is 04:24 PM.


Copyright © 1999-2023 Kinook Software, Inc.