I did both of these and they didn't work for me. However, the examples you
created, is exactly what I want to achieve. Do both items that you
mentioned work for you? Then I must be doing something wrong?! I set the
value of 'filesonly' to yes, true, and on in every variation imaginable:
UPPER CASE, lower case, miXeD mOdE, etc. Is filesonly supposed to work?
----Original Message Follows----
From: EJ Ciramella <[EMAIL PROTECTED]>
Reply-To: "Ant Users List" <[email protected]>
To: "Ant Users List" <[email protected]>
Subject: Re: Ant Zip Task
Date: Thu, 4 Aug 2005 16:50:23 -0400
MIME-Version: 1.0 (Apple Message framework v733)
Received: from mail.apache.org ([209.237.227.199]) by mc11-f22.hotmail.com
with Microsoft SMTPSVC(6.0.3790.211); Thu, 4 Aug 2005 13:50:14 -0700
Received: (qmail 16563 invoked by uid 500); 4 Aug 2005 20:50:10 -0000
Received: (qmail 16550 invoked by uid 99); 4 Aug 2005 20:50:10 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by
apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2005 13:50:10 -0700
Received: pass (asf.osuosl.org: local policy)
Received: from [64.119.142.36] (HELO archimail.archivas.com) (64.119.142.36)
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2005 13:50:00 -0700
Received: from localhost (localhost.localdomain [127.0.0.1])by
archimail.archivas.com (Postfix) with ESMTP id A7BA74F4013for
<[email protected]>; Thu, 4 Aug 2005 16:50:07 -0400 (EDT)
Received: from archimail.archivas.com ([127.0.0.1]) by localhost (archimail
[127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19977-09 for
<[email protected]>; Thu, 4 Aug 2005 16:50:06 -0400 (EDT)
Received: from [192.168.100.221] (unknown [192.168.100.221])by
archimail.archivas.com (Postfix) with ESMTP id 589B64F400Dfor
<[email protected]>; Thu, 4 Aug 2005 16:50:06 -0400 (EDT)
X-Message-Info: JGTYoYF78jGdKRHVqc62KSTLzxLNYYA+Fh1mf+D08p8=
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Post: <mailto:[email protected]>
List-Id: "Ant Users List" <user.ant.apache.org>
Delivered-To: mailing list [email protected]
X-ASF-Spam-Status: No, hits=0.0 required=10.0tests=
X-Spam-Check-By: apache.org
References: <[EMAIL PROTECTED]>
X-Mailer: Apple Mail (2.733)
X-Virus-Scanned: amavisd-new at archivas.com
X-Virus-Checked: Checked by ClamAV on apache.org
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 04 Aug 2005 20:50:14.0945 (UTC)
FILETIME=[1D56F910:01C59936]
so you have the following:
/some/path/to/a/file/file1.txt
/some/path/to/another/file/file2.txt
and in the zip, you want:
/file1.txt
/file2.txt
Try the <zip> task's filesonly attribute and if that isn't enough, try the
<zipfileset>'s fullpath attribute and set it to "/".
?
On Aug 4, 2005, at 12:08 PM, S I wrote:
Hi
I'm trying to zip up bunch of files in many subdirectories undrer their
parents directory but all the subdir names and paths are getting included
in the zip file. The include attribute is not doing it for me. Is there
a trick to this? I just want the files w/o any paths.
Thanks
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]