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:
Cloneable
,SelectorContainer
Sets the RootLoader as reference.
Reexecution of this task will set a new instance of RootLoader for
the reference.
arguments:
- ref
- classpath
- Author:
- Jochen Theodorou
- See Also:
-
Field Summary
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
fileset
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds a path to the classpath.void
execute()
void
setClasspath
(Path classpath) Set the classpath to be used for this compilation.void
Adds a reference to a classpath defined elsewhere.void
sets the name of the reference which should store the LoaderMethods 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
-
Constructor Details
-
RootLoaderRef
public RootLoaderRef()
-
-
Method Details
-
setRef
sets the name of the reference which should store the Loader -
execute
- Overrides:
execute
in classTask
- Throws:
BuildException
-
setClasspath
Set the classpath to be used for this compilation.- Parameters:
classpath
- an Ant Path object containing the compilation classpath.
-
setClasspathRef
Adds a reference to a classpath defined elsewhere.- Parameters:
r
- a reference to a classpath
-
createClasspath
Adds a path to the classpath.- Returns:
- a class path to be configured
-