Package org.apache.commons.jci.compilers

Examples of org.apache.commons.jci.compilers.EclipseJavaCompilerSettings


    /* (non-Javadoc)
     * @see com.envoisolutions.sxc.builder.impl.ICompiler#compile(java.io.File)
     */
    @SuppressWarnings("unchecked")
    public ClassLoader compile(File dir) {
        EclipseJavaCompilerSettings settings = new EclipseJavaCompilerSettings();
        Map<Object, Object> map = settings.getMap();
        map.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_5);
       
        EclipseJavaCompiler compiler = new EclipseJavaCompiler(settings);
        
        if (!dir.exists()) {
View Full Code Here

TOP

Related Classes of org.apache.commons.jci.compilers.EclipseJavaCompilerSettings

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.