|
ch.jm.osgi.util.bundle 1.0.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
ch.jm.osgi.util.bundle.ant.AbstractBundleTask
public abstract class AbstractBundleTask
Base class for bundle-related Ant tasks.
Field Summary | |
---|---|
protected java.util.Set<org.apache.tools.ant.taskdefs.Manifest.Attribute> |
attributes
the manifest attributes |
protected java.io.File |
descriptor
the bundle descriptor |
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
AbstractBundleTask()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.tools.ant.Task |
---|
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 |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Set<org.apache.tools.ant.taskdefs.Manifest.Attribute> attributes
protected java.io.File descriptor
Constructor Detail |
---|
public AbstractBundleTask()
Method Detail |
---|
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 analyzer
|
ch.jm.osgi.util.bundle 1.0.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |