Zip task did not create tasks when there are only empty directories in the selection I have simply added a testcase, the code was already fixed by Matt Benson in Zip.java revision 1.128 PR: 30365