org.apache.hivemind.ant
Class ManifestClassPath

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.hivemind.ant.ManifestClassPath

public class ManifestClassPath
extends org.apache.tools.ant.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

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
ManifestClassPath()
           
 
Method Summary
 org.apache.tools.ant.types.Path createClasspath()
           
 void execute()
           
protected  java.lang.String filter(java.lang.String value)
          Classpath entries must use a forward slash, regardless of what the local filesystem uses.
 java.io.File getDirectory()
           
 java.lang.String getProperty()
           
 void setDirectory(java.io.File file)
          Sets a containing directory.
 void setProperty(java.lang.String string)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManifestClassPath

public ManifestClassPath()
Method Detail

createClasspath

public org.apache.tools.ant.types.Path createClasspath()

getProperty

public java.lang.String getProperty()

setProperty

public void setProperty(java.lang.String string)

execute

public void execute()
Overrides:
execute in class org.apache.tools.ant.Task

getDirectory

public java.io.File getDirectory()

setDirectory

public void setDirectory(java.io.File file)
Sets a containing directory. This has two effects:


filter

protected java.lang.String filter(java.lang.String value)
Classpath entries must use a forward slash, regardless of what the local filesystem uses.