ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <>
Subject Re: Zip Task w/ Empty Folders
Date Thu, 20 Jan 2005 16:20:09 GMT
This is due to:

* Zip task was not zipping when only empty directories were found.
  Bugzilla 30365.

It is fixed in ant cvs and will be in the next release of ant.

You could also regress to ant 1.6.1.


Charles Daniels wrote:

>Are you sure the empty folders are not zipped?  When you view the zip
>file with WinZip, you won't actually see the entries for empty folders.
>I was fooled by this as well, until I unzipped the file to a clean
>location and saw that the empty directories were created even though I
>couldn't see them in the zip file.
>>-----Original Message-----
>>From: Brent Bain [] 
>>Sent: Wednesday, January 19, 2005 4:06 PM
>>To: ''
>>Subject: Zip Task w/ Empty Folders
>>I'm scratching my head over this one.  I need to have the zip 
>>file that I'm
>>going to deploy include all the empty folders that the build 
>>creates.  I
>>have tried manually setting the 'filesonly=false' attribute 
>>but that still
>>did not create the zip file with the empty folders.
>>Now I can place a blank file in the folder but it would be 
>>nice to not have
>>to worry about this.  If there is another work around can 
>>someone let me
>>know?  I'm using Ant 1.6.2
>>Any tips would be greatly appreciated!
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message