getLog().info("start server...");
JavaMainCaller jcmd = getEmptyScalaCommand("scala.tools.nsc.MainGenericRunner");
jcmd.addArgs("scala.tools.nsc.CompileServer");
jcmd.addJvmArgs(jvmArgs);
jcmd.addArgs(args);
jcmd.spawn(displayCmd);
FileUtils.fileWrite(serverTagFile.getAbsolutePath(), ".");
Thread.sleep(1000); //HACK To wait startup time of server (avoid first fsc command to failed to contact server)
}
private class StopServer extends Thread {