Robert Mark Bram wrote:
Hi All!

I am receiving a path through the command line as a property in my Ant script.

I am using the property as a path, but I also want to use it as a name, meaning that I want path/to/dir to appear as path_to_di..

Is there a way to do this?

Look at propertyregex from ant-contrib. It can create a new property for you from the old one, doing some regular expression replacements (such as convert all slashes to underscores)

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



Reply via email to