Modify

Ticket #454 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

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

Duplicate of #449.

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.

comment:3 in reply to: ↑ 1 Changed 2 years ago by anonymous

Replying to mrook:

Duplicate of #449.

Hi mrook,

Just tested with latest from svn and now get the issue as noted in ticket 449.... shows as a file instead of a directory in Windows explorer.

Will await the fix and will use dummy files in the directories for now.

Thanks,

Kev.

comment:4 Changed 2 years ago by mrook

This is indeed not a duplicate but this particular issue was fixed in r736. For the directory attributes issue, please refer to #449 and its fix in r743.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.