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 34893] - unzip task input file remains open after exception
Date Thu, 12 May 2005 21:41:29 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=34893>.
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=34893





------- Additional Comments From gjfdh@yahoo.com  2005-05-12 23:41 -------
Sleep doesn't help.  Some automated code I have has looped on this bug, 
repeatedly trying to delete the file, over an entire weekend with no luck.  
And, if it was a timing issue, in OS code, this same bug would have shown when 
deleting properly formatted zip files.  Assuming everything else is the same, 
the OS wouldn't care if the zip was formatted properly or not -- a close is a 
close.

The test build.xml file I gave above works under unix systems

    [touch] Creating /tmp/xxx.zip
    [unzip] Expanding: /tmp/xxx.zip into /tmp
   [subant] Exiting /tmp/build.xml.
   [subant] Failure for target 'do-unzip' of: /tmp/build.xml
   [subant] The following error occurred while executing this line:
   [subant] /tmp/build.xml:4: Error while expanding /tmp/xxx.zip
   [delete] Deleting: /tmp/xxx.zip

by the delete semantics are different there.  You are allowed to delete open 
files hence this test doesn't show if the bug exists or not on unix -- the 
symptom is gone but the bug may or may not be there.

It is tricky.  I'm hoping that someone in the bugzilla audience may know 
something about zipfile or Windows or ... which can explain what's going on.

-- 
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