If you can't use something like the ant-contrib jars you could also use the 
echo task to spit out the value to a text file.  use replace, then load it back 
in as a property...

-----Original Message-----
From: Robert Mark Bram [mailto:[EMAIL PROTECTED]
Sent: Monday, November 22, 2004 5:02 AM
To: Ant
Subject: path/to/dir to path_to_dir


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?

Any advice would be most welcome!

Rob
:)

-- 
Robert Mark Bram
http://phd.netcomp.monash.edu.au/RobertMarkBram/default.asp
B.Comp.(Systems Development/Business Systems)
B.Net.Comp.(Hons)
Doctor of Philosophy Student

School of Network Computing
Faculty of Information Technology
Monash University
Peninsula Campus
McMahons Rd
Frankston, VIC 3199
AUSTRALIA


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

Reply via email to