----- Original Message ----- 
From: "Ian MacLean" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <nant-users@lists.sourceforge.net>
Sent: Thursday, September 08, 2005 11:13 AM
Subject: Re: [Nant-users] How many files are there?


>
> [EMAIL PROTECTED] wrote:
>
> >Does anyone know if there is a way to determine if a fileset actually
> >ccontains any files?  I actually want to perform conditional processing
> >depending on whether a fileset has entries or not, so eother a test for
> >files, or a count of the files will do.
> >
> >I could do a <foreach> task on the fileset and set a flag if it processes
> >anything, but I'm wondering if there's an easier way.
> >
> >
> >
> Nothing built in but you should be able to do it in a custom function
> easily enough.

We could consider adding some fileset functions to NAntContrib, and then
move them into NAnt core once they've stabilized.

Gert


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to