Re: [NAnt-users] fileset Function only work when file exists ?

2009-03-25 Thread netvampire.tw
>As a foot note, why would you want to include files in a FileSet that don't >exist? I  want use fileset to make sure my files define in fileset are all exists in my physical location before I packed them.. In the past weeks,I fail to packed all files to installshield because I lost some files.

Re: [NAnt-users] fileset Function only work when file exists ?

2009-03-25 Thread William_Martin
I don't think you'll be able to do this as that's not how the FileSet works. The FileSet enumerates the files that match one or more patterns. When you specify a fileset as you have done below, you are not actually adding Project1.csproj to the FileSet, you are adding the pattern. This patter

[NAnt-users] fileset Function only work when file exists ?

2009-03-25 Thread netvampire.tw
Dear all:         I have problem use fileset::get-file-count Function.I had lots of fileset to verify if file exists. I use below example to echo message.It only list that file exists... and if I use fileset::get-file-count Function it counts only if physical disk exists file. how could I list f