ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Passing multi-byte strings from ANT using <sysproperty> task
Date Thu, 11 Dec 2008 11:45:00 GMT

- You should specify unicode content in the XML as valid XML content, 
not escaped \u0123 style.

-The <java> task and things that use it set up the command line; there's 
a risk that it could get in the way and not preserve high unicode 
content. If so, its something we need to test for

-A more reliable way of passing data down to your app could be for Ant 
to pass down the name of a .properties file, a file loaded explicitly by 
the application with Properties.load() . Even better, use the XML format 
for properties and load with with properties.loadXML(). This would take 
the command line and ant out of the loop and be more likely to work

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message