Groovy 2.2.0

org.codehaus.groovy.ant
[Java] Class CompileTaskSupport

java.lang.Object
  org.apache.tools.ant.ProjectComponent
      org.apache.tools.ant.Task
          org.apache.tools.ant.taskdefs.MatchingTask
              org.codehaus.groovy.ant.CompileTaskSupport

public abstract class CompileTaskSupport
extends MatchingTask

Support for compilation related tasks.

Authors:
Jason Dillon
Version:
\$Id\$


Field Summary
protected Path classpath

protected CompilerConfiguration config

protected File destdir

protected boolean failOnError

protected LoggingHelper log

protected Path src

 
Method Summary
protected void compile()

protected GroovyClassLoader createClassLoader()

Path createClasspath()

CompilerConfiguration createConfiguration()

Path createSrc()

void execute()

Path getClasspath()

boolean getFailonerror()

Path getSrcdir()

protected void handleException(Exception e)

void setClasspath(Path path)

void setClasspathRef(Reference r)

void setDestdir(File dir)

void setFailonerror(boolean fail)

void setSrcdir(Path dir)

protected void validate()

 
Methods inherited from class MatchingTask
setProject, setExcludes, setCaseSensitive, setIncludes, setFollowSymlinks, addModified, addFilename, addCustom, addContains, addPresent, addDepth, addDepend, addContainsRegexp, addDifferent, addType, createInclude, XsetIgnore, setIncludesfile, addNot, addNone, addMajority, createIncludesFile, XsetItems, appendSelector, addSelector, addAnd, addOr, setExcludesfile, hasSelectors, selectorCount, getSelectors, selectorElements, addSize, setDefaultexcludes, createExclude, createExcludesFile, createPatternSet, add, addDate, maybeConfigure, getOwningTarget, getTaskName, getTaskType, setTaskType, setTaskName, setOwningTarget, getRuntimeConfigurableWrapper, setRuntimeConfigurableWrapper, reconfigure, perform, bindToOwner, log, log, log, log, init, execute, getProject, setLocation, clone, getLocation, getDescription, setDescription, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Task
maybeConfigure, getOwningTarget, getTaskName, getTaskType, setTaskType, setTaskName, setOwningTarget, getRuntimeConfigurableWrapper, setRuntimeConfigurableWrapper, reconfigure, perform, bindToOwner, log, log, log, log, init, execute, getProject, setLocation, setProject, clone, getLocation, getDescription, setDescription, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

classpath

protected Path classpath


config

protected CompilerConfiguration config


destdir

protected File destdir


failOnError

protected boolean failOnError


log

protected final LoggingHelper log


src

protected Path src


 
Method Detail

compile

protected void compile()


createClassLoader

protected GroovyClassLoader createClassLoader()


createClasspath

public Path createClasspath()


createConfiguration

public CompilerConfiguration createConfiguration()


createSrc

public Path createSrc()


execute

public void execute()


getClasspath

public Path getClasspath()


getFailonerror

public boolean getFailonerror()


getSrcdir

public Path getSrcdir()


handleException

protected void handleException(Exception e)


setClasspath

public void setClasspath(Path path)


setClasspathRef

public void setClasspathRef(Reference r)


setDestdir

public void setDestdir(File dir)


setFailonerror

public void setFailonerror(boolean fail)


setSrcdir

public void setSrcdir(Path dir)


validate

protected void validate()


 

Copyright © 2003-2013 The Codehaus. All rights reserved.