ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hendrik Maryns <qwizv9...@sneakemail.com>
Subject Re: Can I rename a file when jarring it?
Date Thu, 23 Oct 2008 10:21:32 GMT
supareno schreef:
> Hendrik ,
> 
> check out this:
> http://ant.apache.org/manual/CoreTypes/mapper.html#identity-mapper
> and this:
> http://ant.apache.org/manual/CoreTasks/copy.html
> "[...]
> 
> *Copy a set of files to a directory, appending |.bak| to the file name
> on the fly*
> 
>  <copy todir="../backup/dir">
>    <fileset dir="src_dir"/>
>    <globmapper from="*" to="*.bak"/>
>  </copy>

Thanks, indeed this was what I was thinking of, but unfortunately <jar>
does not allow a nested <mapper> element.

Should I put in an rfe for this?

H.
-- 
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html


Mime
View raw message