Package org.codehaus.groovy.tools

Examples of org.codehaus.groovy.tools.FileSystemCompiler


      final CompilerConfiguration compilerConfiguration = GroovyScript
          .createCompilerConfiguration();
            compilerConfiguration.setTargetDirectory(dir);
            final CompilationUnit unit = new CompilationUnit(compilerConfiguration, null, new GroovyClassLoader(
                ScriptingEngine.class.getClassLoader()));
            new FileSystemCompiler(compilerConfiguration, unit).compile(files);
            LogUtils.info("compiled in " + dir + ": " + createNameList(files));
        }
        catch (Exception e) {
            LogUtils.severe("error compiling in " + dir + createNameList(files), e);
        }
View Full Code Here

TOP

Related Classes of org.codehaus.groovy.tools.FileSystemCompiler

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.