public abstract class AbstractBundleTask
extends org.apache.tools.ant.Task
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<org.apache.tools.ant.taskdefs.Manifest.Attribute> |
attributes
the manifest attributes
|
protected java.io.File |
descriptor
the bundle descriptor
|
Constructor and Description |
---|
AbstractBundleTask() |
Modifier and Type | Method and Description |
---|---|
void |
addConfiguredAttribute(org.apache.tools.ant.taskdefs.Manifest.Attribute attribute)
Add an attribute to the manifest.
|
protected void |
addExportUses(BundleManifestBuilder builder,
DependencyAnalyzer analyzer)
Adds "uses" elements to the export clauses.
|
protected void |
logAnalyzerResults(DependencyAnalyzer analyzer)
Logs the gathered packages when in verbose mode.
|
void |
setDescriptor(java.io.File f)
Sets the bundle descriptor (example: "bundle.xml") to work with.
|
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
protected java.util.Set<org.apache.tools.ant.taskdefs.Manifest.Attribute> attributes
protected java.io.File descriptor
public void addConfiguredAttribute(org.apache.tools.ant.taskdefs.Manifest.Attribute attribute) throws org.apache.tools.ant.taskdefs.ManifestException
attribute
- the attribute to be added.org.apache.tools.ant.taskdefs.ManifestException
- if the attribute is not valid.protected void addExportUses(BundleManifestBuilder builder, DependencyAnalyzer analyzer)
builder
- the manifest builderanalyzer
- the dependency analyzerpublic void setDescriptor(java.io.File f)
f
- the bundle descriptorprotected void logAnalyzerResults(DependencyAnalyzer analyzer)
analyzer
- the dependency analyzerCopyright 2009-2010 Jeremias M?rki. All Rights Reserved.