Hi all,

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

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

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

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

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

Thanks,
Brian

Reply via email to