title: How do I set -Dfile.encoding within ant's build.xml?
body: <p>I've got java source files with iso-8859-1 encoding.  When I run <em>ant</em>, I get "warning: unmappable character for encoding UTF-8".  I can avoid this if I run <em>ant -Dfile.encoding=iso-8859-1</em> or add <em>encoding="ISO-8859-1"</em> to each javac statement.</p>
  
  <p>Is there a way to set the property globally within build.xml?  <em>&lt;property name="file.encoding" value="ISO-8859-1"&gt;</em> does not work.  I know that I can add a foo=ISO-8859-1 property and set encoding="${foo}" to each javac statement, but I'm trying to avoid that.</p>