sb.append("\n");
sb.append("===========================================================================");
log.info(sb.toString());
}
JavaCompiler javaCompiler = engine.getJavaCompiler();
// compile
long ts = System.currentTimeMillis();
JavaSource javaSource = new JavaSource(resource.getQualifiedClassName(), source, javaCompiler.getOutputdir());
Class<?> cls = javaCompiler.compile(javaSource);
if (notPrecompileThread) {
ts = System.currentTimeMillis() - ts;
log.info("generateJavaClass: {}, {}ms", javaClassFile.getAbsolutePath(), ts);
}
try {