ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EJ Ciramella <ecirame...@archivas.com>
Subject Re: zip- task on osx breaks permissions
Date Tue, 09 Aug 2005 13:41:13 GMT
At the top of the zip task definition, it says this:

"Note that file permissions will not be stored in the resulting  
zipfile."

If you need to store permissions, try tar or exec to use "zip".


On Aug 9, 2005, at 9:40 AM, lists@bitfaeule.net wrote:

> Hello all,
>
> I need to zip a the contents of a folder on Mac OSX (10.[3|4])  
> Unfortunatly permissions are broken (executables are no longer  
> executable) after I unpack my zipped components and empty  
> directories are gone.  This breaks my deliverables.
>
> If I call zip on the command line I have no such poblems. Can I use  
> the ant zip task and keep the original permissions or do I need to  
> wrap teh zip task in an exec-task?
>
> Is this a bug in the zip-task?
>
> here is my cpde:
> <zip destfile="${archiveFullPath}${buildNumber}.zip" basedir="$ 
> {feature.base}" excludes=".DS_Store,**/*test*/**"/>
>
> thanks for help.
>
> jacques
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>


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