Package org.codehaus.groovy.ant
Class RootLoaderRef
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
org.codehaus.groovy.ant.RootLoaderRef
- All Implemented Interfaces:
- java.lang.Cloneable,- org.apache.tools.ant.types.selectors.SelectorContainer
public class RootLoaderRef
extends org.apache.tools.ant.taskdefs.MatchingTask
Sets the RootLoader as reference.
 Re-execution of this task will set a new instance of RootLoader for
 the reference. 
 arguments:
 
- ref
- classpath
- See Also:
- RootLoader
- 
Field SummaryFields inherited from class org.apache.tools.ant.taskdefs.MatchingTaskfilesetFields inherited from class org.apache.tools.ant.Tasktarget, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors Constructor Description RootLoaderRef()
- 
Method SummaryModifier and Type Method Description org.apache.tools.ant.types.PathcreateClasspath()Adds a path to the classpath.voidexecute()voidsetClasspath(org.apache.tools.ant.types.Path classpath)Set the classpath to be used for this compilation.voidsetClasspathRef(org.apache.tools.ant.types.Reference r)Adds a reference to a classpath defined elsewhere.voidsetRef(java.lang.String n)sets the name of the reference which should store the LoaderMethods inherited from class org.apache.tools.ant.taskdefs.MatchingTaskadd, 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, XsetItemsMethods inherited from class org.apache.tools.ant.TaskbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocationMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
RootLoaderRefpublic RootLoaderRef()
 
- 
- 
Method Details- 
setRefpublic void setRef(java.lang.String n)sets the name of the reference which should store the Loader
- 
executepublic void execute() throws org.apache.tools.ant.BuildException- Overrides:
- executein class- org.apache.tools.ant.Task
- Throws:
- org.apache.tools.ant.BuildException
 
- 
setClasspathpublic void setClasspath(org.apache.tools.ant.types.Path classpath)Set the classpath to be used for this compilation.- Parameters:
- classpath- an Ant Path object containing the compilation classpath.
 
- 
setClasspathRefpublic void setClasspathRef(org.apache.tools.ant.types.Reference r)Adds a reference to a classpath defined elsewhere.- Parameters:
- r- a reference to a classpath
 
- 
createClasspathpublic org.apache.tools.ant.types.Path createClasspath()Adds a path to the classpath.- Returns:
- a class path to be configured
 
 
-