<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 |
|---|---|
| private Path | |
| private String | |
| private boolean | |
| private String | |
| private boolean | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Path | |
| public void | |
| public void | setClasspath(Path
an Ant Path object containing the classpath. classpath)Set the classpath to be used when searching for component being defined |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setReverse(boolean
if true reverse the normal classloader lookup. b)
Deprecated
use setParentFirst with a negated argument instead
Set reverse attribute.
|
| classpath | back to summary |
|---|---|
| private Path classpath | |
| name | back to summary |
|---|---|
| private String name | |
| parentFirst | back to summary |
|---|---|
| private boolean parentFirst | |
| parentName | back to summary |
|---|---|
| private String parentName | |
| reset | back to summary |
|---|---|
| private boolean reset | |
| SYSTEM_LOADER_REF | back to summary |
|---|---|
public static final String SYSTEM_LOADER_REF
| |
| Classloader | back to summary |
|---|---|
| public Classloader() | |
| createClasspath | back to summary |
|---|---|
| public Path createClasspath() Create a classpath.
| |
| execute | back to summary |
|---|---|
| public void execute() Overrides org. do the classloader manipulation.
| |
| setClasspath | back to summary |
|---|---|
| public void setClasspath(Path classpath) Set the classpath to be used when searching for component being defined
| |
| setClasspathRef | back to summary |
|---|---|
| public void setClasspathRef(Reference pathRef) throws BuildException Specify which path will be used. If the loader already exists and is an AntClassLoader (or any other loader we can extend), the path will be added to the loader.
| |
| setName | back to summary |
|---|---|
| public void setName(String name) Name of the loader. If none, the default loader will be modified
| |
| setParentFirst | back to summary |
|---|---|
| public void setParentFirst(boolean b) Set reverse attribute.
| |
| setParentName | back to summary |
|---|---|
| public void setParentName(String name) Set the name of the parent.
| |
| setReset | back to summary |
|---|---|
| public void setReset(boolean b) Reset the classloader, if it already exists. A new loader will be created and all the references to the old one will be removed. (it is not possible to remove paths from a loader). The new path will be used.
| |
| setReverse | back to summary |
|---|---|
| public void setReverse(boolean b)
Deprecated use setParentFirst with a negated argument instead Set reverse attribute.
| |