コード例 #1
0
 @Override
 protected void compile() {
   FileTree source = getSource();
   compiler.setSource(source);
   compiler.setDestinationDir(getDestinationDir());
   compiler.setClasspath(getClasspath());
   compiler.setScalaClasspath(getScalaClasspath());
   compiler.setSourceCompatibility(getSourceCompatibility());
   compiler.setTargetCompatibility(getTargetCompatibility());
   compiler.execute();
 }
コード例 #2
0
 /** Returns the Java compilation options. */
 @Nested
 public CompileOptions getOptions() {
   return compiler.getCompileOptions();
 }
コード例 #3
0
 /** Returns the Scala compilation options. */
 @Nested
 public ScalaCompileOptions getScalaCompileOptions() {
   return compiler.getScalaCompileOptions();
 }