Everything in <include> needs to actually be physically located under its <basedir>. If it isn't, the flattening that you observed will happen.
You are including things parallel to <basedir>, not under it. Don't use "..". -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan Guedeney Sent: Thursday, September 07, 2006 1:22 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Help! NANT zip task Importance: High Having a simple problem including directories with files into a zip file using a NANT task. Can anyone direct me on how to include the correponding directories instead of just flattening the structure? <zip zipfile="My.zip" includeemptydirs="true"> <fileset basedir="${some.dir}"> <include name="../**" /> </fileset> </zip> ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users