>From: <[EMAIL PROTECTED]> >Sent: Wednesday, November 24, 2004 10:51 AM
One important question: Is the comma-separated list a fixed list (i.e. it never changes)? Or is it regenerated by each build? >there is an <includesFile> nested element on the AssemblyFileSet, but I'm >not sure how this works and can't see an example. The documentation seems >to imply this is a set of patterns. Can I write out my list of files and >read it in? I presume I'd need to incorporate custom script in my build for I believe this is the easiest solution if the list doesn't change. The includesFile is just a file containing one filename or pattern on a line. Obviously, if a string doesn't contain any pattern characters, it only matches exact matches - i.e., it would be the file name. However, I wouldn't use NAnt to generate the file from the comma separated list. Just go into your favorite editor and use a keyboard macro. Python or Perl are obvious alternatives for this type of transformation if you know them. If the list is generated on the fly, then use your original approach to parsing it. You can use the <echo> task to write lines to a file, with the file="..." parameter. Just remember to use append="true" correctly; either delete the file before starting, or special case the first write. Gary ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
