Title: RE: [nant-dev] NAnt & CVS Directories
your post was about the nant task, so adding fileset support to that task should resolve your issue.... and you would no longer have to use the foreach task for that purpose
 
I do agree that it could be useful to have exclusion support in the foreach task, but I don't think it's gonna be easy as the task is too "general" for that ...
 
 
----- Original Message -----
Sent: Wednesday, June 04, 2003 7:57 AM
Subject: RE: [nant-dev] NAnt & CVS Directories

> 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

The "exclude" property could contain a list of space separated
directories... I like your idea (adding fileset), but we have to
consider that the <foreach> task doens't work just with directories;
"exclude" should apply to all the property supported by <foreach>
(File, Folder, String and Line).


Gius_.
 

Reply via email to