----- Original Message ----- From: "Daniel Blendea" <[EMAIL PROTECTED]> To: <nant-users@lists.sourceforge.net> Sent: Monday, February 26, 2007 3:34 PM Subject: [NAnt-users] fileset exclude / include priorities
> Hello everybody, > > I have a target that must copy some files and skip some directories. > > <copy todir="${dest.dir}" overwrite="true" > > <fileset basedir="${src.dir}"> > > <exclude name="**/Documentation/" /> > > <include name="**.jpg" /> > </fileset> > </copy> > > the purpose of the task is to > skip /Documentation directory including any files in it and > copy all *jpg files. > > In /Documentation i have some jpg's which should be skipped. > Right now, those files aren't skipped. > > Is there a way to tell which one should go first? Try the following exclude: <exclude name="Documentation/**" /> Gert ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users