org.apache.tools.ant.taskdefs
public class ManifestClassPath extends Task
Since: Ant 1.7
UNKNOWN: category="property"
Method Summary | |
---|---|
void | addClassPath(Path path)
Adds the classpath to convert.
|
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. |
void | setJarFile(File jarfile)
The JAR file to contain the classpath attribute in its manifest.
|
void | setMaxParentLevels(int levels)
Sets the maximum parent directory levels allowed when computing
a relative path.
|
void | setProperty(String name)
Sets the property name to hold the classpath value.
|
Parameters: path the classpath to convert.
Parameters: jarfile the JAR file. Need not exist yet, but its parent directory must exist on the other hand.
Parameters: levels the max level. Defaults to 2.
Parameters: name the property name