ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Becroft <djcbecr...@gmail.com>
Subject <zipfileset> and empty directories
Date Wed, 03 Nov 2010 01:44:15 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message