The "load-bundle-descriptor" Task

The load-bundle-descriptor task is used to set a number of properties based on values in a bundle descriptor.

Table 3.1. The properties set by the load-bundle-descriptor task

Ant property

Bundle descriptor value

osgi-bundle.name

name or Bundle-Name header

osgi-bundle.symbolic-name

symbolic-name or Bundle-SymbolicName header

osgi-bundle.version

Bundle-Version header

See below for an example of the task's usage.