Ken Wood wrote: > There are those of us who need these empty directories > because they are place holders for things to come at > product install time. So, we need to preserve > this behavior, especially in zip files, one way or another.
IMHO: <zip> etc. should create directories for files it is adding, and empty directories only where explicitly mentioned, e.g.: <zip basedir="a"> <include name="x/"/> </zip> would be the normal case and would give: a/x/ a/x/foo a/x/bar whereas: <zip basedir="a"> <include name="x/"/> <include name="y"/> <!-- no trailing slash! --> <include name="z"/> </zip> would mean you explicitly wanted the empty dirs and give: a/x/ a/x/foo a/x/bar a/y/ a/z/ Does that make sense? Hopefully this would match behavior of getIncludedFiles() + getIncludedDirectories(). -Jesse -- Jesse Glick <mailto:[EMAIL PROTECTED]> NetBeans, Open APIs <http://www.netbeans.org/> tel (+4202) 3300-9161 Sun Micro x49161 Praha CR
