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.
精彩评论