ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Inger <>
Subject Re: Renaming a file while jarring...
Date Wed, 05 Sep 2001 19:17:33 GMT
Aaron Kamienski wrote:

>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.
I believe you can use a mapper sub-element for this.
see the ant user manual

Matt Inger (
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 

View raw message