return new Kjc();
/** * Run the compilation. * @return true if the compilation succeeded * @exception BuildException if the compilation has problems. */ @Override public boolean execute() throws BuildException { attributes.log("Using kjc compiler", Project.MSG_VERBOSE); Commandline cmd = setupKjcCommand(); cmd.setExecutable("at.dms.kjc.Main"); ExecuteJava ej = new ExecuteJava(); ej.setJavaCommand(cmd); return ej.fork(getJavac()) == 0; }
Path classpath = getCompileClasspath(); Path p = getBootClassPath(); if (!p.isEmpty()) { cp.append(p); addCurrentCompilerArgs(cmd); logAndAddFilesToCompile(cmd); return cmd;