|
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
ch.jm.osgi.util.bundle.ant.BundleManifestTask
public class BundleManifestTask
Ant task that can generate a bundle manifest file.
| Field Summary |
|---|
| Fields inherited from class ch.jm.osgi.util.bundle.ant.AbstractBundleTask |
|---|
attributes, 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 |
| Fields inherited from interface ch.jm.osgi.util.bundle.BundleConstants |
|---|
BUNDLE_ACTIVATOR, BUNDLE_CATEGORY, BUNDLE_CLASSPATH, BUNDLE_DESCRIPTION, BUNDLE_MANIFEST_VERSION, BUNDLE_NAME, BUNDLE_SYMBOLIC_NAME, BUNDLE_VERSION, EXPORT_PACKAGE, IMPORT_PACKAGE |
| Constructor Summary | |
|---|---|
BundleManifestTask()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class ch.jm.osgi.util.bundle.ant.AbstractBundleTask |
|---|
addExportUses, logAnalyzerResults, setDescriptor |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, 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 |
| Constructor Detail |
|---|
public BundleManifestTask()
| Method Detail |
|---|
public void addConfiguredAttribute(org.apache.tools.ant.taskdefs.Manifest.Attribute attribute)
throws org.apache.tools.ant.taskdefs.ManifestException
AbstractBundleTask
addConfiguredAttribute in class AbstractBundleTaskattribute - 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 directory
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException
|
ch.jm.osgi.util.bundle 1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||