I have a requirement to put an absolute path into a configuration file 
prior to running a java app thru Ant. The only way I can see to get an 
absolute path (thru basedir or using a location property) supplies the path 
with the separators set to the current platform convention. Of course, I am 
running this on Windows and if I write the path to the config file then the 
single backslashes in the path are treated as escape characters by the app 
reading the file. What I need is the absolute path using forward slashes 
(or with double blackslashes) - is this possible ?

TIA

Robert

Reply via email to