|
#1
|
|||
|
|||
vbld_FileOutOfDate
Hi,
I want to add a conditional build for some steps. I've got a file which I process through about three levels to get an output file. If the output file is newer than the input file, it's not worth the trouble. I've added a group into my script with a condition on it: [vbld_FileOutOfDate("%TARGETSCHEMEPATH%", "%PROCFILES_FULLPATH%")] I've obviously messed somehting up, because it always says Building project step 'Build only if newer'... Error expanding macros or script in property condexpr: <Error in System (VBScript) script code at Line 258, Column 3 (Variable is undefined: 'FileOutOfDate')> Could you give me an example please? Thanks Andy |
#2
|
|||
|
|||
Actually, there is a bug in the VBScript vbld_FileOutOfDate system script function (the error you described will occur if the target file doesn't exist). Building the attached file and restarting VBP will fix it.
|
#3
|
|||
|
|||
Thanks for that.
It seems to me this is a case for an FAQ entry, to stop someone else having the same problem. Andy |
Thread Tools | |
Display Modes | Rate This Thread |
|
|