Hi, looked through the archive, but I don't think pathconvert can be used in this case.
property file: prop=E:\\foo\\bar build file: <replaceregexp file="${target.dir}/foobar.xml"> <regexp pattern="value="[^"]+""/> <substitution expression="value="${prop}""/> </replaceregexp> actual result: value="E:foobar" desired result: value="E:\foo\bar" I also tried double escaping i.e. prop=E:\\\\foo\\\\bar but there all backslashes disappear as well. thanks for pointers, Jakob. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org