With the fileset, if you want all files and all directories, try

<includes name="**"/>

Erick

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mahajan, Umesh
Sent: Wednesday, November 12, 2003 2:06 PM
To: '[EMAIL PROTECTED]'
Subject: [Nant-users] Zip task recursively


I want to recursively zip the entire source tree (all subdirectories and underneath) 
from NANT build script. 
I couldn't find any option for that. I tried the following, but It zips only top level 
files. I don't want to enumerate all the directories.
Is there any way of doing it  ? 
<zip zipfile="backup.zip">
        <fileset basedir=".">
        <includes name="*.*"/>
        </fileset> 
</zip> 
 


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to