diff options
author | buraq <buraq@epfl.ch> | 2005-06-21 09:07:02 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2005-06-21 09:07:02 +0000 |
commit | ce41129d96fa754304cf1b7c9ff879386607cd83 (patch) | |
tree | 79a1299b2ea3c9d991d5550982d716edaf4a3ad6 | |
parent | 1cb144f5e8599a907d046bcb8a407fd581a77c3e (diff) | |
download | scala-ce41129d96fa754304cf1b7c9ff879386607cd83.tar.gz scala-ce41129d96fa754304cf1b7c9ff879386607cd83.tar.bz2 scala-ce41129d96fa754304cf1b7c9ff879386607cd83.zip |
encoding for scala.tools.scala4ant.ScalacTask
-rw-r--r-- | sources/scala/tools/scala4ant/AntAdaptor.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sources/scala/tools/scala4ant/AntAdaptor.scala b/sources/scala/tools/scala4ant/AntAdaptor.scala index 3bdb356821..9cc858ceab 100644 --- a/sources/scala/tools/scala4ant/AntAdaptor.scala +++ b/sources/scala/tools/scala4ant/AntAdaptor.scala @@ -94,6 +94,13 @@ package scala.tools.scala4ant { val cmd = new Commandline(); val cp = new Path( this.project ); + //- encoding? + val stask = this.attributes.asInstanceOf[ScalacTask]; + if(null != stask.getEncoding()) { + cmd.createArgument().setValue( "-encoding" ); + cmd.createArgument().setValue( stask.getEncoding() ); + } + if( destDir != null ) { cmd.createArgument().setValue( "-d" ); cmd.createArgument().setFile( destDir ); |