Save This Page
Home » apache-ant-1.7.1-src » org.apache.tools » ant » taskdefs » [javadoc | source]
org.apache.tools.ant.taskdefs
public class: ManifestClassPath [javadoc | source]
java.lang.Object
   org.apache.tools.ant.ProjectComponent
      org.apache.tools.ant.Task
         org.apache.tools.ant.taskdefs.ManifestClassPath

All Implemented Interfaces:
    Cloneable

Converts a Path into a property suitable as a Manifest classpath.
Fields inherited from org.apache.tools.ant.Task:
target,  taskName,  taskType,  wrapper
Fields inherited from org.apache.tools.ant.ProjectComponent:
project,  location,  description
Method from org.apache.tools.ant.taskdefs.ManifestClassPath Summary:
addClassPath,   execute,   setJarFile,   setMaxParentLevels,   setProperty
Methods from org.apache.tools.ant.Task:
bindToOwner,   execute,   getOwningTarget,   getRuntimeConfigurableWrapper,   getTaskName,   getTaskType,   getWrapper,   handleErrorFlush,   handleErrorOutput,   handleFlush,   handleInput,   handleOutput,   init,   isInvalid,   log,   log,   log,   log,   markInvalid,   maybeConfigure,   perform,   reconfigure,   setOwningTarget,   setRuntimeConfigurableWrapper,   setTaskName,   setTaskType
Methods from org.apache.tools.ant.ProjectComponent:
clone,   getDescription,   getLocation,   getProject,   log,   log,   setDescription,   setLocation,   setProject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tools.ant.taskdefs.ManifestClassPath Detail:
 public  void addClassPath(Path path) 
    Adds the classpath to convert.
 public  void execute() 
    Sets a property, which must not already exist, with a space separated list of files and directories relative to the jar file's parent directory.
 public  void setJarFile(File jarfile) 
    The JAR file to contain the classpath attribute in its manifest.
 public  void setMaxParentLevels(int levels) 
    Sets the maximum parent directory levels allowed when computing a relative path.
 public  void setProperty(String name) 
    Sets the property name to hold the classpath value.