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 ([EMAIL PROTECTED])
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