Knopflerfish OSGi 1.3.3

org.knopflerfish.ant.taskdefs.bundle
Class BundleManifestTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.tools.ant.taskdefs.ManifestTask
              extended byorg.knopflerfish.ant.taskdefs.bundle.BundleManifestTask

public class BundleManifestTask
extends org.apache.tools.ant.taskdefs.ManifestTask

Adaption of std Manifest task which ignores attributes with special empty values.

Any attrubute with the value

 [bundle.emptystring]
 
will not be stored in the manifest at all.


Nested Class Summary
 
Nested classes inherited from class org.apache.tools.ant.taskdefs.ManifestTask
org.apache.tools.ant.taskdefs.ManifestTask.Mode
 
Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
BundleManifestTask()
           
 
Method Summary
 void addConfiguredAttribute(org.apache.tools.ant.taskdefs.Manifest.Attribute attribute)
          Override ManifestTask.addConfiguredAttribute with version which checks if the attribute should be stored.
 
Methods inherited from class org.apache.tools.ant.taskdefs.ManifestTask
addConfiguredSection, execute, setEncoding, setFile, setMode
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleManifestTask

public BundleManifestTask()
Method Detail

addConfiguredAttribute

public void addConfiguredAttribute(org.apache.tools.ant.taskdefs.Manifest.Attribute attribute)
                            throws org.apache.tools.ant.taskdefs.ManifestException
Override ManifestTask.addConfiguredAttribute with version which checks if the attribute should be stored.

Throws:
org.apache.tools.ant.taskdefs.ManifestException

Knopflerfish OSGi 1.3.3