ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S I" <>
Subject RE: Zipfileset problem. Help!
Date Tue, 26 Jul 2005 22:56:21 GMT
OK haven't got any response or help but I did discover that the 'filesonly' 
attribute of Ant's <zip> task basically is DECORATIVE AND ORNAMENTAL and 
servers NO purpose whatsoever! Maybe I'm using it wrong. However, I have set 
its value to 'yes', 'true', 'right', and 'whathaveyou' and ANT does not 
complain!  Any suggestions?

Thank you,


----Original Message Follows----
From: "S I" <>
Reply-To: "Ant Users List" <>
Subject: Zipfileset problem. Help!
Date: Tue, 26 Jul 2005 13:09:30 -0700
MIME-Version: 1.0
X-Originating-IP: []
X-Originating-Email: []
Received: from ([]) by 
with Microsoft SMTPSVC(6.0.3790.211); Tue, 26 Jul 2005 13:09:40 -0700
Received: (qmail 81446 invoked by uid 500); 26 Jul 2005 20:09:33 -0000
Received: (qmail 81428 invoked by uid 99); 26 Jul 2005 20:09:32 -0000
Received: from (HELO (    by (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2005 13:09:32 -0700
Received: pass ( domain of designates as permitted sender)
Received: from [] (HELO (    by (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2005 13:09:25 -0700
Received: from mail pickup service by with Microsoft SMTPSVC; 
Tue, 26 Jul 2005 13:09:30 -0700
Received: from by with 
HTTP;Tue, 26 Jul 2005 20:09:30 GMT
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPt4iogl2abg+M=
Mailing-List: contact; run by ezmlm
Precedence: bulk
List-Unsubscribe: <>
List-Help: <>
List-Post: <>
List-Id: "Ant Users List" <>
Delivered-To: mailing list
X-ASF-Spam-Status: No, hits=3.6 
X-OriginalArrivalTime: 26 Jul 2005 20:09:30.0794 (UTC) 
X-Virus-Checked: Checked by ClamAV on


I'm trying to create a zip file of a parent folder with many subfolders with 
many different file types in each subfolder.  However, I'm only interested 
in the *.rdl files in each subfolder and one subdir under the parent folder 
to be included in the final zip file.  I want the .rdl files to sit at the 
root of the zip file w/o exporting their subfolder names.  But I'm not 
successful.  This is the way I have written the Ant script now:

    <zip destfile="">
    	<zipfileset dir="reports/daily" includes="**/*.rdl" prefix="/" />
    	<zipfileset dir="reports/daily/install" includes="**/install" />

Where reports/ is the grand parent right on my drive C:, daily is the parent 
folder, and there are about 50 subfolders under daily.  I'm on WinXP desktop 
by the way.

Doesn't matter whether I set prefix to space or slash, the .rdl parent 
folders under daily are still included but reports/daily itself is not 
appended. And as for the 2nd zipfileset, **/install doesn't work.



To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message