Hello Poonam,

I believe you need to use a custom mapper..
read this :
http://ant.apache.org/manual/CoreTypes/mapper.html
I think you need to write a class which implements |org.apache.tools.ant.util.FileNameMapper
Cheers,
Antoine
|
Poonam wrote:


Hi,

Thanks, that was really useful.
Actually I am trying to copy a set of folders over network. Is there any way
to change the name of the folder while copying at runtime.
For eg. The folder name is like
ReleaseLock.4BA6844C-8F19-429F-BE93-B8A6AAA2E735. I want to change this name
to run1. Similarly there is another folder named
ReleaseLock.4371A6844C-8F19-429F-BE93-B8A6AAA2E735. I want to change this
name to run2. And another to run3.

Can I do it? I tried to use mapper, but was not able to do it. Can you help
me?

Regards,
Poonam






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to