public class BundleManifestTask extends AbstractBundleTask implements BundleConstants
attributes, descriptor
BUNDLE_ACTIVATOR, BUNDLE_CATEGORY, BUNDLE_CLASSPATH, BUNDLE_DESCRIPTION, BUNDLE_MANIFEST_VERSION, BUNDLE_NAME, BUNDLE_SYMBOLIC_NAME, BUNDLE_VERSION, EXPORT_PACKAGE, IMPORT_PACKAGE
Constructor and Description |
---|
BundleManifestTask() |
Modifier and Type | Method and Description |
---|---|
void |
addConfiguredAttribute(org.apache.tools.ant.taskdefs.Manifest.Attribute attribute)
Add an attribute to the manifest.
|
org.apache.tools.ant.types.Path |
createPath()
Create a nested PATH element.
|
void |
execute() |
void |
setClasses(java.io.File dir)
Sets the directory for compiled classes.
|
void |
setFile(java.io.File f)
The name of the manifest file to create.
|
addExportUses, logAnalyzerResults, setDescriptor
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void addConfiguredAttribute(org.apache.tools.ant.taskdefs.Manifest.Attribute attribute) throws org.apache.tools.ant.taskdefs.ManifestException
AbstractBundleTask
addConfiguredAttribute
in class AbstractBundleTask
attribute
- the attribute to be added.org.apache.tools.ant.taskdefs.ManifestException
- if the attribute is not valid.public void setFile(java.io.File f)
f
- the Manifest file to be writtenpublic org.apache.tools.ant.types.Path createPath()
public void setClasses(java.io.File dir)
dir
- the directorypublic void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Copyright 2009-2010 Jeremias M?rki. All Rights Reserved.