Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
How to include an empty folder in a ZIP file

How to include an empty folder in a ZIP file

2005-06-08       - By S I
Reply:     1     2     3     4     5  

Question: Does the new version of Ant's zip task which NOW includes empty
dirs, smart enough NOT to include cvs subdirs or I have to tell it to,
specifically?

Thanks

Steven

----Original Message Follows----
From: Jeffrey E Care <carej@(protected)>
Reply-To: "Ant Users List" <user@(protected)>
To: "Ant Users List" <user@(protected)>
Subject: Re: How to include an empty folder in a ZIP file
Date: Wed, 8 Jun 2005 09:16:13 -0400
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by mc10-f29.hotmail.com
with Microsoft SMTPSVC(6.0.3790.211); Wed, 8 Jun 2005 06:16:43 -0700
Received: (qmail 32980 invoked by uid 500); 8 Jun 2005 13:16:37 -0000
Received: (qmail 32966 invoked by uid 99); 8 Jun 2005 13:16:36 -0000
Received: pass (hermes.apache.org: domain of carej@(protected) designates
32.97.110.129 as permitted sender)
Received: from e31.co.us.ibm.com (HELO e31.co.us.ibm.com) (32.97.110.129)  
by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Jun 2005 06:16:34 -0700
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com
[9.17.195.11])by e31.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id
j58DGFua487536for <user@(protected)>; Wed, 8 Jun 2005 09:16:15 -0400
Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com
[9.17.195.167])by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.6) with
ESMTP id j58DGEqM225002for <user@(protected)>; Wed, 8 Jun 2005 07:16:15
-0600
Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1])by
d03av01.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id j58DGEQT027442for
<user@(protected)>; Wed, 8 Jun 2005 07:16:14 -0600
Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com
[9.17.195.145])by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id
j58DGEQx027432for <user@(protected)>; Wed, 8 Jun 2005 07:16:14 -0600
X-Message-Info: JGTYoYF78jGYCVU5SC2dHdduoo8TaPq/f9MJywcV/tk=
Mailing-List: contact user-help@(protected); run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:user-unsubscribe@(protected)>
List-Help: <mailto:user-help@(protected)>
List-Post: <mailto:user@(protected)>
List-Id: "Ant Users List" <user.ant.apache.org>
Delivered-To: mailing list user@(protected)
X-ASF-Spam-Status: No, hits=0.9
required=10.0tests=DNS_FROM_RFC_ABUSE,HTML_50_60,HTML_MESSAGE,SPF_HELO_FAIL,SPF
_PASS
X-Spam-Check-By: apache.org
X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003
X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.5.4|March
27, 2005) at 06/08/2005 07:16:14,Serialize complete at 06/08/2005 07:16:14
X-Virus-Checked: Checked
Return-Path: user-return-50505-xiamak=hotmail.com@(protected)
X-OriginalArrivalTime: 08 Jun 2005 13:16:43.0788 (UTC)
FILETIME=[50AE2CC0:01C56C2C]

There is a regression in 1.6.2 that prevents empty directories from being
included in ZIP files. IIRC this was corrected in 1.6.3

--
Jeffrey E. Care (carej@(protected))
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis




John Zoetebier <john.zoetebier@(protected)>
06/08/2005 12:37 AM
Please respond to
"Ant Users List"


To
user@(protected)
cc

Subject
How to include an empty folder in a ZIP file






I have noticed that an empty folder is excluded from a ZIP file.
Is it possible to include an empty folder in a ZIP file ?

--
John Zoetebier
http://www.transparent.co.nz


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.