How about supporting a "filetype" attribute, like "find -type". One <chmod> task could then be written to run on the directories, and another to run on the files.
> -----Original Message----- > From: Stefan Bodewig [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, September 05, 2000 9:46 AM > To: [EMAIL PROTECTED] > Subject: Re: Including Directories in filesets > > >>>>> "pd" == donaldp <[EMAIL PROTECTED]> writes: > > pd> yep the task I have in mind is chmod. > > Oh, I see. This one is going to be tricky though, as you most probably > want to have different permissions on files and directories. > > I'd say make that an attribute of <execon> (<chmod> inherits from > <execon>) - something like includedirs="true|false" - not of filesets > themselves. > > Stefan
