On 2011-08-13, Emmanouil Batsis (Manos) wrote:

> On 08/13/2011 07:19 AM, Stefan Bodewig wrote:
>> If you use some ZIP tool with a UI like "Windows Compressed Folders",
>> WinZip, 7ZIP or PKZIP they will show you the folders even if those are
>> not part of the archive - they simply don't have any other way to
>> visualize the entries.

> That was it.

Good.

> The zip came from a rather non-techie client as a testcase, will need
> to check out how it was created. This may not be a bug but it could be
> a valid a feature request, e.g. a flag to control whether entries
> should be constructed for such folders.

On the reading or the writing side?

In either case the corresponding Ant tasks would hold code that you
could leverage (although the extract logic really isn't difficult - does
File.getParentFile() exist?  No => call getParentFile().mkdirs()).

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to