#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
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 |
#3
|
|||
|
|||
Exactly the information I needed. Thank you!
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|