https://issues.apache.org/bugzilla/show_bug.cgi?id=50115
Summary: ZIP emits wrong message and creates corrupt archive
when resource collections used
Product: Ant
Version: 1.8.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P2
Component: Core tasks
AssignedTo: [email protected]
ReportedBy: [email protected]
The following task:
<zip destfile="C:/temp/me.zip" whenempty="skip">
<fileset dir="C:/temp" includes="d**"/>
</zip>
Works well. The following, though:
<zip destfile="C:/temp/me2.zip" whenempty="skip">
<resources>
<fileset dir="C:/temp" includes="d**"/>
</resources>
</zip>
Doesn't:
1) Ant emits message:
Warning: skipping zip archive C:\temp\me2.zip because no files were included.
2) Ant actually goes ahead and creates the archive, but the archive is
corrupted and doesn't contain what it's supposed to contain. Each file
beginning with "d" is actually inserted into the ZIP file as an empty
directory.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.