Ticket #454 (closed defect: duplicate)
Zip task fails with empty directories
| Reported by: | kev@… | Owned by: | mrook |
|---|---|---|---|
| Priority: | blocker | Milestone: | 2.4.1 |
| Component: | phing-core | Version: | 2.4.0 |
| Keywords: | Cc: |
Description
When using the zip task with a fileset that contains empty directories the zip task fails, and no file is created. Tested using a copy task and this creates the empty directories as expected.
We need to be able to include empty directories so that the same zip file can be used for both new and existing installs.
Tested on WinXP with PHP 5.3.2.
Thanks,
Kev.
Attachments
Change History
comment:1 follow-ups: ↓ 2 ↓ 3 Changed 2 years ago by mrook
- Status changed from new to closed
- Resolution set to duplicate
comment:2 in reply to: ↑ 1 Changed 2 years ago by anonymous
Replying to mrook:
Duplicate of #449.
Hi mrook,
Not sure that this is a duplicate. With the issue on ticket 449 the directories are in the zip but do not have the "D" attribute set against them In our case the the zip is not created at all.
We shall try using the latest build, as suggested on 449, and let you know how we get on.
Thanks,
Kev.

Duplicate of #449.