开发者

ant (1.8.0/1.8.1) zip empty directories

I noticed that neither the zip or jar targets are including empty directories. I googled a little and found this was a regression issue way back with 1.6 (.2 I think), but it was claimed to have been fixed. I was using 1.8.0 so I upgraded to 1.8.1, but am having the same issue. Anyone know of any workarounds besides adding dummy files to those direc开发者_高级运维tories? Thanks, Ben Anderson


It works with my version apache-ant-1.8.0RC1

Are you opening the file using WinZip? In WinZip you dont see the empty dirs, but try extracting with WinZip and you will see even the empty dirs are created.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜