Package jetbrick.template.compiler

Examples of jetbrick.template.compiler.JavaCompiler


            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 {
View Full Code Here

TOP

Related Classes of jetbrick.template.compiler.JavaCompiler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.