John Gerken <[EMAIL PROTECTED]> wrote:
>> John Gerken <[EMAIL PROTECTED]> wrote:
>
>>> If I create a zip file while building with Ant 1.2 on my Win2K
>>> machine and then ftp that zip to a Linux box and unzip it, the
>>> permissions of the resulting directories are 644
>
> Stefan Bodewig wrote:
>
>> Same holds true for me as well - when creating the ZIP file on
>> Linux using IBM's JDK 1.3. Storing permissions is an extension of
>> the original PKZIP format and as far as I can tell the
>> java.util.zip classes don't really support this.
>
>> Stefan
>
> Thanks for your note, Stefan. So what you are saying is that you
> believe this is a shortcoming of the java.util.zip JDK code, not Ant
> itself, correct? At least I'm not the first person to see this.
I think so, I once started to analyze the zip file created by these
classes but never had the time to go through it completely.
> Could I perhaps call an external zip program usiing <execon> with a
> nested fileset?
Should work. <apply> would even allow you to update an existing zip
file.
Stefan