Knopflerfish OSGi 1.3.7

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
All Implemented Interfaces:
java.lang.Cloneable

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.taskdefs.ManifestTask
VALID_ATTRIBUTE_CHARS
 
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
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
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

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.7