properties file - How to use ant expandproperties with windows pathseparator -
I tried to use ants: It works for simple text properties, but I get weird results when the property has a window path.
& lt; Property name = "myAntFile" value = "$ {ant.file}" /> & Lt; Loadproperties srcFile = "my.properties" & gt; & Lt; Filterchain & gt; & Lt; Detailed Properties & gt; & Lt; / Filterchain & gt; & Lt; / Loadproperties & gt; & Lt; Echo message = "$$ {external} = $ {external}" /> The
property file looks like this:
external = $ {myAntFile}
is the result: