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 2003/04/03 11:45:52 UTC

DO NOT REPLY [Bug 18648] New: - still creates invalid file (NOT FIXED IN 1.5.3Beta1)

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

<zip> still creates invalid file (NOT FIXED IN 1.5.3Beta1)

           Summary: <zip> still creates invalid file (NOT FIXED IN
                    1.5.3Beta1)
           Product: Ant
           Version: 1.5.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: doron.rajwan@schema.com


Version 1.5.2 was broken regarding <zip> files. Version 1.5.3Beta1 fixed only 
part of the problem.

When creating <zip> files, the files are created with invalid size. WinZip does 
not show it, but the WinZip command line does. The WinZip command line can be 
downloaded at: http://www.winzip.com/wzcline.htm. Just download ans see.

More information is below.

thanks,
  Doron.


The version:
  D:\Development\song\dev\song>ant -version
  Apache Ant version 1.5.3Beta1 compiled on March 24 2003

The <zip> command:
  <zip destfile="JavaGA_Source_${song.timeStamp}.zip" basedir="${tempdir}" 
includes="**"/>


When unzipping:


D:\kk>wzunzip -D JavaGA_Source_20030402183401.zip
WinZip(R) Command Line Support Add-On Version 1.0 (Build 3181)
Copyright (c) WinZip Computing, Inc. 1991-2000 - All Rights Reserved

Zip file: JavaGA_Source_20030402183401.zip

...
unzipping doc/Java GA Library Block Diagram 2003-03-24.doc
Warning: the size of the extracted file (25600) does not match the uncompressed 
size (0) recorded in the zip file
unzipping doc/Java GA Library implementation 2003-03-24.doc
Warning: the size of the extracted file (51200) does not match the uncompressed 
size (0) recorded in the zip file
unzipping src/cmp.bat
Warning: the size of the extracted file (50) does not match the uncompressed 
size (0) recorded in the zip file
unzipping src/com/schema/ga/Analyzer.java
Warning: the size of the extracted file (1366) does not match the uncompressed 
size (0) recorded in the zip file
unzipping src/com/schema/ga/analyzers/AnalyzerBase.java
Warning: the size of the extracted file (913) does not match the uncompressed 
size (0) recorded in the zip file
unzipping src/com/schema/ga/analyzers/Standard.java
Warning: the size of the extracted file (2307) does not match the uncompressed 
size (0) recorded in the zip file
unzipping src/com/schema/ga/Crossover.java
...