|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
org.codehaus.groovy.ant.Groovyc
org.codehaus.groovy.grails.compiler.GrailsCompiler
public class GrailsCompiler
Field Summary |
---|
Fields inherited from class org.codehaus.groovy.ant.Groovyc |
---|
compileList, configuration, failOnError, listFiles |
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
---|
fileset |
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
GrailsCompiler()
|
Method Summary | |
---|---|
protected groovy.lang.MetaClass |
$getStaticMetaClass()
|
protected groovy.lang.GroovyClassLoader |
buildClassLoaderFor(org.codehaus.groovy.control.CompilerConfiguration configuration,
Object resourceLoader,
ClassInjector[] classInjectors)
|
void |
compile()
|
File |
createTempDir()
|
boolean |
getCleanJavaCompile()
|
groovy.lang.MetaClass |
getMetaClass()
|
String |
getProjectName()
|
Object |
getProperty(String property)
|
Object |
getResolver()
|
Object |
invokeMethod(String method,
Object arguments)
|
boolean |
isCleanJavaCompile()
|
protected org.codehaus.groovy.control.CompilationUnit |
makeCompileUnit()
|
void |
scanDir(File srcDir,
File destDir,
String[] files)
|
void |
setCleanJavaCompile(boolean value)
|
void |
setMetaClass(groovy.lang.MetaClass mc)
|
void |
setProjectName(String value)
|
void |
setProperty(String property,
Object value)
|
void |
setResolver(Object value)
|
Methods inherited from class org.codehaus.groovy.ant.Groovyc |
---|
addConfiguredJavac, addToCompileList, buildClassLoaderFor, checkParameters, createClasspath, createSourcepath, createSrc, execute, getClasspath, getDestdir, getEncoding, getFailonerror, getFileList, getIncludeantruntime, getIncludejavaruntime, getListfiles, getMemoryInitialSize, getMemoryMaximumSize, getSourcepath, getSrcdir, getStubdir, getTaskSuccess, getVerbose, isIncludeDestClasses, recreateSrc, resetFileLists, setClasspath, setClasspathRef, setDestdir, setEncoding, setErrorProperty, setFailonerror, setFork, setIncludeantruntime, setIncludeDestClasses, setIncludejavaruntime, setJavaHome, setListfiles, setMemoryInitialSize, setMemoryMaximumSize, setProceed, setSourcepath, setSourcepathRef, setSrcdir, setStacktrace, setStubdir, setUpdatedProperty, setVerbose |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
---|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrailsCompiler()
Method Detail |
---|
public Object getResolver()
public void setResolver(Object value)
public String getProjectName()
public void setProjectName(String value)
public boolean getCleanJavaCompile()
public boolean isCleanJavaCompile()
public void setCleanJavaCompile(boolean value)
public void scanDir(File srcDir, File destDir, String[] files)
scanDir
in class org.codehaus.groovy.ant.Groovyc
public File createTempDir()
public void compile()
compile
in class org.codehaus.groovy.ant.Groovyc
protected org.codehaus.groovy.control.CompilationUnit makeCompileUnit()
makeCompileUnit
in class org.codehaus.groovy.ant.Groovyc
protected groovy.lang.GroovyClassLoader buildClassLoaderFor(org.codehaus.groovy.control.CompilerConfiguration configuration, Object resourceLoader, ClassInjector[] classInjectors)
protected groovy.lang.MetaClass $getStaticMetaClass()
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |