You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ben Anderson <be...@gmail.com> on 2010/05/26 15:40:31 UTC

zip empty directories

Hi,
I noticed that neither the zip or jar targets are including empty
directories.  I googled a little and found the was a regression issue way
back with 1.6 (.2 I think), but it was claimed to have been fixed.  I was
using 1.8.0 so I upgraded to 1.8.1, but am having the same issue.  Anyone
know of any workarounds besides adding dummy files to those directories?
Thanks,
Ben Anderson

Re: zip empty directories

Posted by Ben Anderson <be...@gmail.com>.
whenempty is something different.  It's whether to even create the zip file
or not.  My problem (actually non-problem) was fixed here:
http://stackoverflow.com/questions/2913474/ant-1-8-0-1-8-1-zip-empty-directories


On Thu, May 27, 2010 at 12:39 PM, Wray, Nathan <Na...@compuware.com>wrote:

> I'm assuming you tried whenempty="create" ?
>
>
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or disclose
> it to anyone else. If you received it in error please notify us immediately
> and then destroy it.
>
> From: Ben Anderson [mailto:benanderson.us@gmail.com]
> Sent: Wednesday, May 26, 2010 9:41 AM
> To: user@ant.apache.org
> Subject: zip empty directories
>
> Hi,
> I noticed that neither the zip or jar targets are including empty
> directories.  I googled a little and found the was a regression issue
> way
> back with 1.6 (.2 I think), but it was claimed to have been fixed.  I
> was
> using 1.8.0 so I upgraded to 1.8.1, but am having the same issue.
> Anyone
> know of any workarounds besides adding dummy files to those directories?
> Thanks,
> Ben Anderson
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

RE: zip empty directories

Posted by "Wray, Nathan" <Na...@compuware.com>.
I'm assuming you tried whenempty="create" ?


The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.

From: Ben Anderson [mailto:benanderson.us@gmail.com] 
Sent: Wednesday, May 26, 2010 9:41 AM
To: user@ant.apache.org
Subject: zip empty directories

Hi,
I noticed that neither the zip or jar targets are including empty
directories.  I googled a little and found the was a regression issue
way
back with 1.6 (.2 I think), but it was claimed to have been fixed.  I
was
using 1.8.0 so I upgraded to 1.8.1, but am having the same issue.
Anyone
know of any workarounds besides adding dummy files to those directories?
Thanks,
Ben Anderson


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org