wouldn't it be possible to check if a buildfile exists in directory (using
the available task with an if task) ?

In my opinion, the exclude property has too limited usability.... what will
happen if you want to exclude two directories ?

perhaps we should reconsider adding fileset support to the nant task

Gert

----- Original Message -----
From: "Ian MacLean" <[EMAIL PROTECTED]>
To: "Greco Giuseppe" <[EMAIL PROTECTED]>
Cc: "Nant-Developers (E-Mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, June 04, 2003 6:55 AM
Subject: Re: [nant-dev] NAnt & CVS Directories


> Greco Giuseppe wrote:
>
> > So, I think either we have to add a property to the
> > <foreach> task in order to be able to discriminate
> > the CVS directories
> >
> > <foreach item="Folder" in="." property="foldername" exclude="CVS">
> >   <nant buildfile="${foldername}/default.build"
> >     target="${project.config} ${target}" failonerror="false"/>
> > </foreach>
>
> I like the exclude property idea. It matches the includes/excludes model
> of filesets
>
> Ian
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at www.etnus.com.
> _______________________________________________
> Nant-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>
>



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to