Mercurial > hg > truffle
diff mx/commands.py @ 9127:5c63e4385115
javac: use UTF-8 as encoding explicitly
patch by gilles.
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Tue, 16 Apr 2013 11:11:56 +0200 |
parents | 9f361c0f912b |
children | fb73538b57c6 |
line wrap: on
line diff
--- a/mx/commands.py Mon Apr 15 19:54:58 2013 +0200 +++ b/mx/commands.py Tue Apr 16 11:11:56 2013 +0200 @@ -502,7 +502,7 @@ out.open('target', {'name' : 'compile', 'depends' : 'cleanclasses'}) out.element('mkdir', {'dir' : '${classes.dir}'}) - out.open('javac', {'destdir' : '${classes.dir}', 'debug' : 'on', 'includeantruntime' : 'false', }) + out.open('javac', {'destdir' : '${classes.dir}', 'debug' : 'on', 'includeantruntime' : 'false', 'encoding' : 'UTF-8'}) for p in mx.sorted_deps(mx.distribution('GRAAL').deps): out.element('src', {'path' : '${src.dir}/' + p.name}) out.element('compilerarg', {'value' : '-XDignore.symbol.file'})