I\'ve got java source files with iso-8859-1 encoding. When I run ant, I get \"warning: unmappable character for encoding UTF-8\". I can avoid this if I run an
Ant itself cannot set system properties, but if you really want to, you can write a java program which sets the system property, and execute that from within Ant.