Jeffrey E Care wrote:
If you need to preserve existing permissions then it's probably easiest to use <exec> to run the native zip/tar on your platform.

If you only need to set permissions on certain files then you can use a nested <zipfileset> to manually set permissions on those files in the archive.

Given that Java does not (currently) have a notion of file permissions, it's unreasonable to expect Java code for *any* archive format to preserve permissions. Ant makes a decent compromise with <zipfileset>, but until JSR 203 is delivered (http://www.jcp.org/en/jsr/detail?id=203) I don't know what else Ant can do.



I didnt know about JSR203...interesting. but even then, I fear that whatever cygwin does to mimic unix permissions out of NTFS ACLs will still raise endless bugreps, unless a version of Java ships with cygwin awareness.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to