com.rshtech.ant.taskdefs
Class ManifestClasspathEntryTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.rshtech.ant.taskdefs.ManifestClasspathEntryTask
- All Implemented Interfaces:
- java.lang.Cloneable
public class ManifestClasspathEntryTask
- extends org.apache.tools.ant.Task
Takes a given Path or set of Paths and generates a "Class-Path" entry for
a manifest file for all the jars found in the Path(s). This task will
skip any references to class directories, as the explanation of
Class-Path
seems to imply only jars should appear in this entry. Even if you can
reference a directory, it is probably not a good application packaging
decision anyways.
- Version:
- $Revision: 3134 $
- Author:
- $Author: kostya $
| Fields inherited from class org.apache.tools.ant.Task |
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
| Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, 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, setProject |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PROPERTY
public static final java.lang.String DEFAULT_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_PATH_PREFIX
public static final java.lang.String DEFAULT_PATH_PREFIX
- See Also:
- Constant Field Values
ManifestClasspathEntryTask
public ManifestClasspathEntryTask()
init
public void init()
- Overrides:
init in class org.apache.tools.ant.Task
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Overrides:
execute in class org.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
getPaths
public java.util.Set<org.apache.tools.ant.types.Path> getPaths()
setPaths
public void setPaths(java.util.Set<org.apache.tools.ant.types.Path> val)
addConfiguredPath
public void addConfiguredPath(org.apache.tools.ant.types.Path path)
getProperty
public java.lang.String getProperty()
setProperty
public void setProperty(java.lang.String classPathProperty)
getPrefix
public java.lang.String getPrefix()
setPrefix
public void setPrefix(java.lang.String pathPrefix)
getClasspathValue
public java.lang.String getClasspathValue()