Hi All,
What is the easiest was to check if a file exists if I don't have the file
name. I have the pattern that the file will match. The only think I can think
to do is to use a foreach with the pattern and put the file name into a
property.
Is there an easier way that is cleaner?
Thanks,
@lists.sourceforge.net
Subject: [NAnt-users] Does a file matching a pattern exist...
Hi All,
What is the easiest was to check if a file exists if I don't have the file
name. I have the pattern that the file will match. The only think I can
think to do is to use a foreach with the pattern and put
Martin [mailto:w.p.mar...@blueyonder.co.uk]
Sent: Friday, July 24, 2009 5:24 PM
To: Bob Archer; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] Does a file matching a pattern exist...
You could use a fileset and then use the
fileset::has-files(http://nantcontrib.sourceforge.net/release