ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EJ Ciramella <ecirame...@archivas.com>
Subject Re: Ant Zip Task
Date Thu, 04 Aug 2005 21:26:28 GMT
I don't see a way to do that directly with zip/zipfileset.  You could  
try copying (with the flatner) to another directory first, then  
zipping them up.  This seems like a headache to me.  Why do they need  
to be at the top level?  Copying around lots of files typically slows  
builds waaaaay down.


On Aug 4, 2005, at 5:22 PM, S I wrote:

> 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 <eciramella@archivas.com>
> 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 user-help@ant.apache.org; run by ezmlm
> Precedence: bulk
> List-Unsubscribe: <mailto:user-unsubscribe@ant.apache.org>
> List-Help: <mailto:user-help@ant.apache.org>
> 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: <BAY105-F41449D652293FA0EB7013CD8C40@phx.gbl>  
> <9E649617-5532-47D7-883E-9A1D6D827D92@archivas.com>
> 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: user-return-51571-xiamak=hotmail.com@ant.apache.org
> 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: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>
>>>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>


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


Mime
View raw message