ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Kuhn <>
Subject uncopy -- custom task supporting mapper
Date Wed, 16 Nov 2005 17:47:14 GMT
Hi all,

I'm currently using the copy task to copy a fileset from one directory to

<copy todir="${dir-a}/com/mycompany/appl/layer">
<fileset dir="${dir-b}/LAYER/com/mycompany/appl/layer"/>

I'd like to somehow reverse (undo) this operation in my clean target. My
first thought is something like this:

<mapper from="${dir-b}/LAYER/com/mycompany/appl/layer/*"
<fileset dir="${dir-b}/LAYER/com/mycompany/appl/layer"/>

I've never created a custom task that supports mapper. Does anyone know of a
resource that explains this? What about an alternate solution?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message