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

MikeD 03-30-2005 01:43 PM

CopyFiles
 
I'm in the process of converting our old old batch files into VBP 5.7 ..

I found a case where I'm doing a CopyFiles and I specify which files specifically I want to copied in the include list:

MFC71.DLL
MSVCR71.DLL

For whatever reason, these files were missing from the source folder, and yet, it did not fail the buld process.

Do I have something mis-checked or am I using this feature improperly?

Any suggestions?

Mike.

MikeD 03-30-2005 01:53 PM

CopyFiles - Found Problem
 
I think I found the problem..

In my "Include" list, a space appeared after the extension, ie:

MFC71.DLL
MSVCRT.DLL

kevina 03-30-2005 02:08 PM

1 Attachment(s)
The include (and exclude) lists in the Copy Files action are used as masks, meaning they only define the patterns a file must match to be included or excluded (respectively). No logic is included to enforce the existence of actual files matching these mask values.

One way to enforce the existence of files in a build is with a simple Run Script step (attached is an example build demonstrating this technique).


All times are GMT -5. The time now is 08:49 PM.


Copyright © 1999-2023 Kinook Software, Inc.