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 02-17-2005, 06:45 PM
gribble gribble is online now
Registered User
 
Join Date: 06-04-2003
Posts: 21
bug with copy files wildcards/filemasks

I am copying files from a source directory tree (recursively) into a flat folder destination (copy all fies to root destination)

I have the Include mask set to:

*.exe
*.pdb


And the exclude mask is:

Setup.exe
txnlogsearch*.*
txlog.*
/obj
/External.NET
/Common.NET
AMS.Profile.pdb
WagonCommon.pdb



What i am noticing is that i have a built component called TxLogViewer.exe (and .pdb). These are being excluded from the copy step and i have found it is due to the exclusion TxLog.* (when i remove this line from the exclusion, the files copy OK).

The aim of this step is to copy all c++ built exe and pdb files (including TxLogViewer.exe) but i dont want to copy another .NET component which is called TxLog.exe


It seems that the exclusion TxLog.* is being treated like TxLog*.*


I have tested this on the latest 5.7 version and it is still happening



In my mind, the wildcards should work as they do in DOS.

i.e TxLogViewer should not cause a match on wildcard TxLog.* - only TxLog*.*

Code:
C:\wagering\wagon\main\code\TxLogViewer\Debug>dir TxLog.*
 Volume in drive C has no label.
 Volume Serial Number is 6847-7172

 Directory of C:\wagering\wagon\main\code\TxLogViewer\Debug

File Not Found

C:\wagering\wagon\main\code\TxLogViewer\Debug>dir TxLog*.*
 Volume in drive C has no label.
 Volume Serial Number is 6847-7172

 Directory of C:\wagering\wagon\main\code\TxLogViewer\Debug

17/02/2005  05:44 PM         3,510,350 TxLogViewer.exe
17/02/2005  05:44 PM         2,399,150 TxLogViewer.map
17/02/2005  05:38 PM            56,458 TxLogViewer.obj
17/02/2005  05:43 PM         3,560,096 TxLogViewer.pch
17/02/2005  05:44 PM        11,256,832 TxLogViewer.pdb
17/02/2005  05:36 PM            23,680 TxLogViewer.res
17/02/2005  05:38 PM         1,442,020 TxLogViewer.sbr
17/02/2005  05:38 PM            33,573 TxLogViewerDoc.obj
17/02/2005  05:38 PM         1,431,984 TxLogViewerDoc.sbr
               9 File(s)     23,714,143 bytes
               0 Dir(s)   6,082,904,064 bytes free

Last edited by gribble; 02-17-2005 at 06:50 PM.
Reply With Quote
  #2  
Old 02-18-2005, 12:31 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
That is in fact a bug (surprising that nobody ran into it until now). A workaround is to use

txlog.?*
Reply With Quote
  #3  
Old 02-18-2005, 08:55 PM
gribble gribble is online now
Registered User
 
Join Date: 06-04-2003
Posts: 21
yeah it is surprising no-one came across it until now!

in the meantime, thanks for the work around
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 02:47 PM.


Copyright © 1999-2023 Kinook Software, Inc.