Posted By:
Aleksandr_Stserbakov
Posted On:
Thursday, November 17, 2011 10:26 AM
In Ant's documentation there is description of mappedresources : Wraps another resource collection and maps the names of the nested resources using a mapper. So, when I am using it I am expecting that it will provide changed list of resources (i.e. mapped by the given mapper). Question: why in copy task it behaves different way? For example: I would expect here that it will attempt to copy *.bak files into some directory. But it copies original files and then renames them into *.bak. Why is it so?
More>>
In Ant's documentation there is description of
mappedresources
:
Wraps another resource collection and maps the names of the nested resources using a mapper.
So, when I am using it I am expecting that it will provide
changed
list of resources (i.e. mapped by the given mapper).
Question: why in
copy
task it behaves different way?
For example:
I would expect here that it will attempt to copy *.bak files into some directory. But it copies original files and then renames them into *.bak.
Why is it so?
<<Less