Under the parent directory, I have about 50 subdirs which contain multiple
file extensions but I'm only interested in pulling & copying the *.rdl files
and zip them up.
Somebody suggested I should look into filemapper or globber...would those
work?
Thanks
----Original Message Follows----
From: EJ Ciramella <[EMAIL PROTECTED]>
Reply-To: "Ant Users List" <user@ant.apache.org>
To: "Ant Users List" <user@ant.apache.org>
Subject: Re: Ant Zip Task
Date: Thu, 4 Aug 2005 17:06:58 -0400
MIME-Version: 1.0 (Apple Message framework v733)
Received: from mail.apache.org ([209.237.227.199]) by mc5-f38.hotmail.com
with Microsoft SMTPSVC(6.0.3790.211); Thu, 4 Aug 2005 14:06:53 -0700
Received: (qmail 38517 invoked by uid 500); 4 Aug 2005 21:06:46 -0000
Received: (qmail 38490 invoked by uid 99); 4 Aug 2005 21:06:46 -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 14:06:46 -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 14:06:36 -0700
Received: from localhost (localhost.localdomain [127.0.0.1])by
archimail.archivas.com (Postfix) with ESMTP id 59A6C4F4015for
<user@ant.apache.org>; Thu, 4 Aug 2005 17:06:44 -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 20445-08 for
<user@ant.apache.org>; Thu, 4 Aug 2005 17:06:41 -0400 (EDT)
Received: from [192.168.100.221] (unknown [192.168.100.221])by
archimail.archivas.com (Postfix) with ESMTP id 864FE4F400Dfor
<user@ant.apache.org>; Thu, 4 Aug 2005 17:06:41 -0400 (EDT)
X-Message-Info: JGTYoYF78jHIc0M3aqAmLkvIFi+j+xPG4LIFdnY0n60=
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Post: <mailto:user@ant.apache.org>
List-Id: "Ant Users List" <user.ant.apache.org>
Delivered-To: mailing list user@ant.apache.org
X-ASF-Spam-Status: No, hits=0.0 required=10.0tests=
X-Spam-Check-By: apache.org
References: <[EMAIL PROTECTED]>
<[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 21:06:53.0599 (UTC)
FILETIME=[70957AF0:01C59938]
never mind, neither of my suggestions work - I'm looking into this now. . .
How many files and directories?
On Aug 4, 2005, at 4:50 PM, EJ Ciramella wrote:
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]