You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Daniel Becroft <dj...@gmail.com> on 2010/11/03 02:44:15 UTC

and empty directories

Hi,

I'm using the <zip>/<zipfileset> combination to construct an archive for
distribution. However, given the following directory structure:

\alpha
  A.txt
  B.txt
  C.txt
\beta
  foo.c
  bar.c

If I want to zip up everything in this directory, but exclude any .c files,
it will include an empty 'beta' directory. Is it possible to inform
<zipfileset> to ignore empty directories?

Cheers,
---
Daniel Becroft