Method Summary |
|
protected void | addClassPathes(GroovyClassLoader classLoader) |
public void | addFileset(FileSet set) Adds a set of files (nested fileset attribute). |
public void | addText(String txt) Set an inline command to execute. |
public Path | createClasspath() Returns a new path element that can be configured.
Gets called for instance by Ant when it encounters a nested element. |
protected void | execGroovy(String txt, PrintStream out) Exec the statement. |
public void | execute() |
public Path | getClasspath() Gets the classpath. |
protected void | printResults(PrintStream out) print any results in the statement. |
protected void | runStatements(Reader reader, PrintStream out) |
public void | setAppend(boolean append) whether output should be appended to or overwrite
an existing file. |
public void | setClasspath(Path classpath) Sets the classpath for loading. |
public void | setClasspathRef(Reference r) Set the classpath for loading
using the classpath reference. |
public void | setOutput(File output) Set the output file;
optional, defaults to the Ant log. |
public void | setSrc(File srcFile) Set the name of the file to be run. |
public void | setStacktrace(boolean stacktrace) Enable compiler to report stack trace information if a problem occurs
during compilation. |