ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aruna Challapalli" <arun...@gmail.com>
Subject Re: is it possible inculde folder in zip??
Date Sat, 21 Apr 2007 14:15:24 GMT
see this page....
http://ant.apache.org/manual/CoreTasks/zip.html<http://ant.apache.org/manual/index.html>
Checkout this example......
=======================================================================
The code

  <zip destfile="${dist}/manual.zip">
    <zipfileset dir="htdocs/manual" prefix="docs/user-guide"/>
    <zipgroupfileset dir="." includes="examples*.zip"/>
  </zip>

 zips all files in the htdocs/manual directory into the
docs/user-guidedirectory in the archive and includes all the files in
any file that maches
examples*.zip, such as all files within examples1.zip or
examples_for_brian.zip.
======================================================================

On 4/21/07, prasad kumar <prasad_te318@yahoo.co.in> wrote:
>
> Hi,
>
> i tried with all the options it is not including the folder it is
> including only files and zipping
>
> is it possible inculde folder in zip??
>
> if anybody knows,respond that's  great appreciation
>
> thanks,
> prasad
>
>
> ---------------------------------
> Check out what you're missing if you're not on Yahoo! Messenger




-- 
Regards,
Aruna Challapalli

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message