You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/08/26 08:10:50 UTC

DO NOT REPLY [Bug 12028] New: - Zip is not updated when inserting a single file to an existing zip archive

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=12028>.
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=12028

Zip is not updated when inserting a single file to an existing zip archive

           Summary: Zip is not updated when inserting a single file to an
                    existing zip archive
           Product: Ant
           Version: 1.5
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: vladimir@bossicard.com


To insert the LICENSE into the META-INF directory of a jar achive, I used to do:
        
<zip zipfile="${dist.dest}/${project.name}-${project.version}.jar"
     update="yes">
  <zipfileset dir="." includes="LICENSE" prefix="META-INF" />
</zip>

which works fine under 1.4.1 but not under 1.5 (the file is simply not updated).

my Java verison (should maybe upgrade to 1.4...)

java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>