ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21308] New: - <zip> looses stored permissions when you update existing archive
Date Thu, 03 Jul 2003 13:30:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21308>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21308

<zip> looses stored permissions when you update existing archive

           Summary: <zip> looses stored permissions when you update existing
                    archive
           Product: Ant
           Version: 1.6Alpha (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: bodewig@apache.org
        ReportedBy: bodewig@apache.org
                CC: dev@ant.apache.org


The following snippet

  <target name="zip">
    <delete file="a.zip"/>
    <touch file="a"/>
    <zip zipfile="a.zip">
      <zipfileset dir="." filemode="755" includes="a"/>
    </zip>
    <touch file="b"/>
    <zip zipfile="a.zip" update="true">
      <fileset dir="." includes="b"/>
    </zip>
  </target>

will create an archive in which a has not the filemode 755 - before updating
the archive it has.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message