org.codehaus.groovy.tools
Class FileSystemCompiler
java.lang.Object
org.codehaus.groovy.tools.FileSystemCompiler
public class FileSystemCompiler
- extends java.lang.Object
Command-line compiler (aka. groovyc).
- Version:
- $Id: FileSystemCompiler.java 10601 2008-01-25 01:11:39Z blackdrag $
Method Summary |
static int |
checkFiles(java.lang.String[] filenames)
|
void |
compile(java.io.File[] files)
|
void |
compile(java.lang.String[] paths)
|
private static java.io.File |
createTempDir()
|
static void |
displayHelp(org.apache.commons.cli.Options options)
|
static void |
displayVersion()
|
static void |
main(java.lang.String[] args)
Primary entry point for compiling from the command line
(using the groovyc script). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
unit
private final CompilationUnit unit
FileSystemCompiler
public FileSystemCompiler(CompilerConfiguration configuration)
throws ConfigurationException
- Throws:
ConfigurationException
compile
public void compile(java.lang.String[] paths)
throws java.lang.Exception
- Throws:
java.lang.Exception
compile
public void compile(java.io.File[] files)
throws java.lang.Exception
- Throws:
java.lang.Exception
displayHelp
public static void displayHelp(org.apache.commons.cli.Options options)
displayVersion
public static void displayVersion()
checkFiles
public static int checkFiles(java.lang.String[] filenames)
main
public static void main(java.lang.String[] args)
- Primary entry point for compiling from the command line
(using the groovyc script).
createTempDir
private static java.io.File createTempDir()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © ${year} The Codehaus. All Rights Reserved.