Issue Details (XML | Word | Printable)

Key: MAVEN-1657
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Vinod Panicker
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1

ant:zip doesn't include empty directories in zip file

Created: 04/Aug/05 07:05 AM   Updated: 08/Mar/06 10:47 PM   Resolved: 19/Oct/05 04:43 PM
Component/s: None
Affects Version/s: 1.1-beta-1
Fix Version/s: 1.1-beta-3

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive testproject.zip (7 kB)

Environment: Fedora Core 3 x86-64


 Description  « Hide

The ant:zip task doesn't include empty directories in the output zip file. This was an ant bug which was fixed in 1.6.5 IIRC. I noticed that maven 1.1 has ant 1.6.5 in the lib directory but downloads 1.6 for the repository.



Brett Porter added a comment - 04/Aug/05 10:00 AM

do you have a simple test case project?


Vinod Panicker added a comment - 05/Aug/05 05:01 AM

Here's a sample test project. Run the "test" goal and check the zip file getting created in the target directory. The source directory for the zip file is "release". Note that "emptydir" doesnt get included in the target zip file.


Lukas Theussl added a comment - 19/Oct/05 01:26 AM

I cannot reproduce this anymore with 1.1-beta-3-SNAPSHOT. Was it fixed with the recent dependency clean-up?


Arnaud Heritier added a comment - 19/Oct/05 04:43 PM

Yes, it was certainly a problem with old dependencies to ant 1.5 or 1.6
It will be fixed as we'll release all plugins before the beta 3.
If you can reproduce this bug with the future 1.1 beta 3, we'll reopen it.