Thanks Melissa - that worked.

----Original Message Follows----
From: "Melissa Kacher" <[EMAIL PROTECTED]>
To: "Alan Guedeney" 
<[EMAIL PROTECTED]>,<nant-users@lists.sourceforge.net>
Subject: RE: [NAnt-users] Help! NANT zip task
Date: Thu, 7 Sep 2006 13:57:34 -0700
MIME-Version: 1.0
Received: from seamail01.intrinsyc.com ([67.139.132.138]) by 
bay0-mc6-f12.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Thu, 7 
Sep 2006 13:57:36 -0700
X-Message-Info: txF49lGdW42TmEg6DDPl3FXPpBgQM+fc+oPttuSutBY=
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [NAnt-users] Help! NANT zip task
Thread-Index: AcbSu0YMTFtfuJ73QaaSv9ACP75lGgABBkzw
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 07 Sep 2006 20:57:36.0799 (UTC) 
FILETIME=[3F86CAF0:01C6D2C0]

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

Reply via email to