Package net.sf.jsptest.compiler.java

Examples of net.sf.jsptest.compiler.java.JavaCompiler


        // dependencies
        compilers.add(new Java6Compiler());
        compilers.add(new SunJavaC());
        compilers.add(new CommandLineJavac());
        for (Iterator i = compilers.iterator(); i.hasNext();) {
            JavaCompiler compiler = (JavaCompiler) i.next();
            if (compiler.isAvailable()) {
                log.debug("Using JavaCompiler: " + compiler.getClass().getName());
                return compiler;
            }
        }
        throw new RuntimeException("No JavaCompiler implementation available on the system");
    }
View Full Code Here

TOP

Related Classes of net.sf.jsptest.compiler.java.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.