org.apache.hivemind.ant
Class ManifestClassPath
java.lang.Object
|
+--Task
|
+--org.apache.hivemind.ant.ManifestClassPath
- public class ManifestClassPath
- extends Task
Utility used to create a manifest class path.
It takes, as input, a reference to a path. It converts this
into a space-separated list of file names. The default
behavior is to simply strip off the directory portion of
each file entirely.
The final result is assigned to the property.
- Author:
- Howard Lewis Ship
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManifestClassPath
public ManifestClassPath()
createClasspath
public Path createClasspath()
getProperty
public java.lang.String getProperty()
setProperty
public void setProperty(java.lang.String string)
execute
public void execute()
getDirectory
public java.io.File getDirectory()
setDirectory
public void setDirectory(java.io.File file)
- Sets a containing directory. This has two effects:
- Only files in the classpath that are contained by the directory are included.
- The directory path is stripped from each path, leaving a relative path
to the file.
filter
protected java.lang.String filter(java.lang.String value)
- Classpath entries must use a forward slash, regardless of what the
local filesystem uses.