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
|