Mahajan, Umesh wrote:
> 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>

Use <includes name="**/*.*" />, or just <includes name="**/*" />.

-- 
Arild

AnkhSVN: http://ankhsvn.tigris.org
Blog: http://ankhsvn.com/blog
RSS: http://ankhsvn.com/blog/Rss.aspx

King Crimson lives in different bodies at different times and the
particular form which the group takes changes. When music appears,
which only King Crimson can play then, sooner or later, King Crimson
appears to play the music


-------------------------------------------------------
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