Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-31-2006, 01:24 PM
Scotty Scotty is online now
Registered User
 
Join Date: 01-30-2006
Posts: 6
Log Several Failed Copy Steps.

I need to make a list of files that were not copied during a Copy Files step, and then email the list to a user. I tried setting a Failure Step routine, but '0 files copied' did not constitute an error. I am using version 5.7, and do not have the 'Ignore non-existent or blank Source Folder' checked. Any help or direction would be greatly appreciated.
Reply With Quote
  #2  
Old 01-31-2006, 06:13 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The Copy Files action will not normally fail if 0 files are copied, but you can cause it to fail in that scenario by adding code to the vbld_StepDone script event. That, and emailing the contents of the failed Copy Files step's Include field, is demonstrated in the attached sample (requires VBP v6).
Attached Files
File Type: bld failcopy.bld (2.0 KB, 1331 views)
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 10:07 AM.


Copyright © 1999-2023 Kinook Software, Inc.