public class Antlib extends Task implements TaskContainer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG
The name of this task
|
description, location, project| Constructor and Description |
|---|
Antlib() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTask(Task nestedTask)
add a task to the list of tasks
|
static Antlib |
createAntlib(Project project,
java.net.URL antlibUrl,
java.lang.String uri)
Static method to read an ant lib definition from
a url.
|
void |
execute()
Execute the nested tasks, setting the classloader for
any tasks that derive from Definer.
|
protected void |
setClassLoader(java.lang.ClassLoader classLoader)
Set the class loader for this antlib.
|
protected void |
setURI(java.lang.String uri)
Set the URI for this antlib.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic static final java.lang.String TAG
public static Antlib createAntlib(Project project, java.net.URL antlibUrl, java.lang.String uri)
project - the current projectantlibUrl - the url to read the definitions fromuri - the uri that the antlib is to be placed inprotected void setClassLoader(java.lang.ClassLoader classLoader)
classLoader - the class loaderprotected void setURI(java.lang.String uri)
uri - the namespace uripublic void addTask(Task nestedTask)
addTask in interface TaskContainernestedTask - Nested task to execute in antlib