Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-30-2005, 02:43 PM
MikeD MikeD is online now
Registered User
 
Join Date: 03-13-2005
Location: Brockville, ontario
Posts: 6
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.
Reply With Quote
  #2  
Old 03-30-2005, 02:53 PM
MikeD MikeD is online now
Registered User
 
Join Date: 03-13-2005
Location: Brockville, ontario
Posts: 6
CopyFiles - Found Problem

I think I found the problem..

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

MFC71.DLL<space>
MSVCRT.DLL<space>
Reply With Quote
  #3  
Old 03-30-2005, 03:08 PM
kevina kevina is online now
Registered User
 
Join Date: 03-27-2003
Posts: 825
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).
Attached Files
File Type: bld ensure files exist.bld (709 Bytes, 1496 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 12:33 PM.


Copyright © 1999-2023 Kinook Software, Inc.