package org.jetbrains.plugins.scala.util;

import scala.tools.ant.Scalac;

/**
 * Author: Ilya Sergey
 * Date: 04.10.2006
 * Time: 16:47:02
 */
public class AntScalaCompiler extends Scalac {

  public void execute() {
    setAddparams("-Xgenerics");
//    setAddparams("-target:jvm-1.5");
//    setAddparams("-Xexperimental");
    super.execute();
  }
}

package org.jetbrains.plugins.scala.util;

import scala.tools.ant.Scalac;

/**
 * Author: Ilya Sergey
 * Date: 04.10.2006
 * Time: 16:47:02
 */
public class AntScalaCompiler extends Scalac {

  public void execute() {
    setAddparams("-Xgenerics");
    setAddparams("-target:jvm-1.5");
    super.execute();
  }
}

add -target option