Maven 1

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta-1
  • Fix Version/s: 1.1-beta-3
  • Component/s: None
  • Labels:
    None
  • Environment:
    Fedora Core 3 x86-64
  • Number of attachments :
    1

Description

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.

Activity

Hide
Brett Porter added a comment -

do you have a simple test case project?

Show
Brett Porter added a comment - do you have a simple test case project?
Hide
Vinod Panicker added a comment -

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.

Show
Vinod Panicker added a comment - 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.
Hide
Lukas Theussl added a comment -

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

Show
Lukas Theussl added a comment - I cannot reproduce this anymore with 1.1-beta-3-SNAPSHOT. Was it fixed with the recent dependency clean-up?
Hide
Arnaud Heritier added a comment -

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.

Show
Arnaud Heritier added a comment - 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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: