ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shreedhar natarajan" <>
Subject Reading properties
Date Tue, 10 Jan 2006 00:45:51 GMT
hi all,

One of my property file has key/values such as


When I read this property like

<property file="${build_dir}/" />

ant throws an exception, C:\mydir\build.xml:35: java.lang.IllegalArgumentException: Malformed
\uxxxx encoding. 

I understand that it interprets \u in usb as unicode char. how to over come this?

I tried to use a filter to change "\" to "\\"

<filter token="\" value="\\"/>
<copy file="${build_dir}/" filtering="true" tofile="${build_dir}/"

It does not seem to work. What could be the problem ?

Bst rgds

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message