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

AndyChamp 04-30-2007 11:53 AM

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:

Could you give me an example please?

Thanks

Andy

kinook 04-30-2007 12:25 PM

1 Attachment(s)
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.

AndyChamp 05-01-2007 04:37 AM

Thanks for that.

It seems to me this is a case for an FAQ entry, to stop someone else having the same problem.

Andy


All times are GMT -5. The time now is 12:07 AM.


Copyright © 1999-2023 Kinook Software, Inc.