Bert,

Just use a single <include name="**" /> element.

Hope this helps,

Gert

----- Original Message ----- 
From: "Bert Jan Lappenschaar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 09, 2004 3:43 PM
Subject: [Nant-users] zip task


Hi all,

 

I want to use the ZIP task in my build process.

How can I create a simple ZIP task that zips everything in a directory?
Including all subdirectories and files in all subdirectories? 

 

I mean, a task like:

 

     <zip zipfile="d:\huurdev\build\assemblies\HC001.zip">

      <fileset basedir="D:\HuurDev\TestCodeFiles\">

          <includes name="*.*"/>

          <includes name="*\*.*"/>

          <includes name="*\*\*.*"/>

      </fileset>

    </zip>

 

will include subdirectories and files, two levels deep. But I don't want
to have to indicate the level of subdirectories. It should just include
everything, regardless of the number of levels of subdirectories. Can
that be done?

 

Thanks,

Bert-Jan

 

Bert-Jan Lappenschaar

[EMAIL PROTECTED]

 

 

 




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to