public class Classloader extends Task
  <path id="ant.deps" >
     <fileset dir="myDir" >
        <include name="junit.jar, bsf.jar, js.jar, etc"/>
     </fileset>
  </path>
  <classloader pathRef="ant.deps" />
 | Modifier and Type | Field and Description | 
|---|---|
| static String | SYSTEM_LOADER_REF | 
| Constructor and Description | 
|---|
| Classloader()Default constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| Path | createClasspath()Create a classpath. | 
| void | execute()do the classloader manipulation. | 
| void | setClasspath(Path classpath)Set the classpath to be used when searching for component being defined | 
| void | setClasspathRef(Reference pathRef)Specify which path will be used. | 
| void | setName(String name)Name of the loader. | 
| void | setParentFirst(boolean b)Set reverse attribute. | 
| void | setParentName(String name)Set the name of the parent. | 
| void | setReset(boolean b)Reset the classloader, if it already exists. | 
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 String SYSTEM_LOADER_REF
public Path createClasspath()
public void setClasspath(Path classpath)
classpath - an Ant Path object containing the classpath.public void setClasspathRef(Reference pathRef) throws BuildException
pathRef - a reference to a path.BuildException - if there is a problem.public void setName(String name)
name - the name of this loaderpublic void setParentFirst(boolean b)
b - if true reverse the normal classloader lookup.public void setParentName(String name)
name - the parent name.public void setReset(boolean b)
b - true if the loader is to be reset.