ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "EJ Ciramella" <ecirame...@upromise.com>
Subject RE: path/to/dir to path_to_dir
Date Mon, 29 Nov 2004 20:33:35 GMT
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:relaxedrob@optusnet.com.au]
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
View raw message