public final class JarLibManifestTask extends Task
Prior to JDK1.3, an "Optional Package" was known as an Extension. The specification for this mechanism is available in the JDK1.3 documentation in the directory $JDK_HOME/docs/guide/extensions/versioning.html. Alternatively it is available online at http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html.
Constructor and Description |
---|
JarLibManifestTask() |
Modifier and Type | Method and Description |
---|---|
void |
addConfiguredAttribute(ExtraAttribute attribute)
Adds an attribute that is to be put in main section of manifest.
|
void |
addConfiguredDepends(ExtensionSet extensionSet)
Adds a set of extensions that this library requires.
|
void |
addConfiguredExtension(ExtensionAdapter extensionAdapter)
Adds an extension that this library implements.
|
void |
addConfiguredOptions(ExtensionSet extensionSet)
Adds a set of extensions that this library optionally requires.
|
void |
execute()
Execute the task.
|
void |
setDestfile(File destFile)
The location where generated manifest is placed.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public void addConfiguredAttribute(ExtraAttribute attribute)
attribute
- an attribute that is to be put in main section of manifest.public void addConfiguredDepends(ExtensionSet extensionSet)
extensionSet
- a set of extensions that this library requires.public void addConfiguredExtension(ExtensionAdapter extensionAdapter) throws BuildException
extensionAdapter
- an extension that this library implements.BuildException
- if there is multiple extensions detected
in the library.public void addConfiguredOptions(ExtensionSet extensionSet)
extensionSet
- a set of extensions that this library optionally requires.public void execute() throws BuildException
execute
in class Task
BuildException
- if the task fails.public void setDestfile(File destFile)
destFile
- The location where generated manifest is placed.