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 34328] - Cannot open zip file created using <zip> task in ANT 1.5.4 using WINZIP Tool
Date Wed, 06 Apr 2005 18:11:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34328>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34328





------- Additional Comments From narasimhapai@gmail.com  2005-04-06 20:11 -------
Thanks for the reply...I did try creating the zip file in different folder...It 
didnot work...
There was a bug # 17648 which is the one similar to mine. I heard this was an 
issue in Ant 1.5.2 and was fixed in Ant 1.5.3...
The fix was done by adding the following line 
in /src/main/org/apache/tools/ant/taskdefs/Zip.java 

    fileMode = zfs.getFileMode();

This fix is present in Ant 1.5.4. I am wondering if this fix really solved Bug 
# 17648. Can you please provide me the details or any other fix for this bug?


(In reply to comment #1)
> 1. you need to be running Ant1.6.3beta. if the problem does not occur there,
> then it isnt a bug any more.
> 2. you are implicitly including the generated zip in the source file. Is this
> really a sensible thing to do. Consider putting the destfile somewhere else. 
> <zip destfile="${src.dir}/dcid/compression_process.zip">            
>     <zipfileset dir="${src.dir}/dcid" prefix="compression_process"/>
> </zip> 
> I dont know if that is related or not, but I dont think recursive zip files 
are
> helpful. I do know this: winzip is sometimes petulant, and has its own logic
> about directory names. If you have the JDK installed, you can always use jar 
to
> expand zip files...



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message