|
Groovy 2.2.0 | |||||||
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.RootLoaderRef
public class RootLoaderRef extends MatchingTask
Sets the RootLoader as reference. Reexecution of this task will set a new instance of RootLoader for the reference. arguments:
Method Summary | |
---|---|
Path
|
createClasspath()
Adds a path to the classpath. |
void
|
execute()
|
void
|
setClasspath(Path classpath)
Set the classpath to be used for this compilation. |
void
|
setClasspathRef(Reference r)
Adds a reference to a classpath defined elsewhere. |
void
|
setRef(String n)
sets the name of the reference which should store the Loader |
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 |
Method Detail |
---|
public Path createClasspath()
public void execute()
public void setClasspath(Path classpath)
classpath
- an Ant Path object containing the compilation classpath.
public void setClasspathRef(Reference r)
r
- a reference to a classpath
public void setRef(String n)
Copyright © 2003-2013 The Codehaus. All rights reserved.