https://issues.apache.org/bugzilla/show_bug.cgi?id=50115

--- Comment #3 from Stefan Bodewig <[email protected]> 2010-10-29 11:23:20 EDT 
---
I see the same bogus warning message and will look into fixing it.

That you don't get test2 in the second case is correct, in a way.  <fileset> is
a set of files not dirs.  For historical reasons some task (including zip)
provide special handling for filesets where they also consult directories
matched by the patterns, but as a general rule you should assume only files
will be in it - and that's what you get when you wrap it into <resources>.

In order to include empty directories as well, you must use a union
of the fileset and a dirset.  Non-empty directories (or rather directories
containing files matched by the fileset) will be included since the zip task
adds the parent directories for files by default.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to