Hello exclude name="**/pages"/> Takes all files from any subdir called "pages" but no subdir of pages
<exclude name="**/pages/**"/> Takes all files from any subdir called "pages" but and all files of subdirs of pages <exclude name="pages/**"/> takes all files of subdirs of pages <exclude name="**/pages**"/> Takes all files that filenam starts with pages <exclude name="**/pages/> Syntax error because second " is missing <exclude name="*/pages" /> (second " added) Takes all files from a subdir called "pages", that is one dir deep (xxx/pages but not xxx/xxx/pages) but no subdir of pages <exclude name="*/pages/*"> (second " added) Takes all subdirs of depth 1 from a subdir pages that is depth 1 (xx/pages/xx, but not xx/pages/xx/xx ) -- Jürgen Knuplesch -----Ursprüngliche Nachricht----- Von: Ziggy [mailto:[email protected]] Gesendet: Freitag, 18. Dezember 2009 14:00 An: Ant Users List Betreff: Filesets Hi, I am trying to understand how the selection of files and directories work. Could you explain the difference between the following. exclude name="**/pages"/> <exclude name="**/pages/**"/> <exclude name="pages/**"/> <exclude name="**/pages**"/> <exclude name="**/pages/> <exclude name="*/pages/> <exclude name="*/pages/*> Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
