ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prasad kumar <>
Subject Re: is it possible inculde folder in zip??
Date Sun, 22 Apr 2007 06:04:35 GMT
hi aruna,
  with the below code it incudes all htdocs/manual directory files into the docs/user-guide
directory.zipfileset we can use only for including files not directories.
  but i want htdocs/manual directory(not their files included in the docs/user-guide ) should
be included as a folder  in the docs/user-guide directory without changing the directory structure.means
while unzipping files should be as a folder(including the files in that folderand sub folders
files in the sub folder like that)
  i tried with jar option is including only files not as a folder
  please tell if anybody knows how to include  folders(folder files,sub folder(sub folder
files) inside zip, respond that's a great appreciation
Aruna Challapalli <> wrote:
  see this page....
Checkout this example......
The code

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 or

On 4/21/07, prasad kumar 
> 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

Aruna Challapalli

 Check out what you're missing if you're not on Yahoo! Messenger 
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message