ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Inger <ma...@sedonacorp.com>
Subject Re: Renaming a file while jarring...
Date Wed, 05 Sep 2001 19:23:11 GMT
Matthew Inger wrote:

> Aaron Kamienski wrote:
>
>> Hello,
>>
>> Is it possible to effectively rename/move a file while jarring
>> it (w/out an explicit copy/move)?
>>
>> For example, I have a file w/x/y.z and I want it to end up in a jar as
>> a/b/y.z (or, even more generic, a/b/c.d).
>>
>> I can copy w/x/y.z to a/b before performing the jar task (and perhaps 
>> delete when done), but I was wondering if there was a more elegant 
>> way.  A way that doesn't result in unnecessary re-jarring.
>>
>> thanks,
>>
>> ajk
>>
> I believe you can use a mapper sub-element for this.
> see the ant user manual
>
>
woops.... i mean a zipfileset, not a mapper

-- 
Matt Inger (matt.inger@sedonacorp.com)
Sedona Corporation
455 S. Gulph Road, Suite 300
King of Prussia, PA 19406
(484) 679-2213
"Self-respect - the secure feeling that no one,
 as yet, is suspicious." -H.L. Mencken 




Mime
View raw message