Hi,

In the context of a subsystem I'm in doubt about the Require-Bundle header.

In the constant org.osgi.framework.Constants.BUNDLE_VERSION_ATTRIBUTE
javadoc, from *osgi.core-6.0.0.jar, *we have this statement:

The attribute value is encoded in the Require-Bundle manifest header like:
>
>      Require-Bundle: com.acme.module.test; bundle-version="1.1"
>      Require-Bundle: com.acme.module.test; bundle-version="[1.0,2.0)"
>
>
> but in the compendium spec version 6.0, we have those:

134.2.1.5
> Require-Bundle: com.acme.chess; version= "[1.0, 2.0)"
> The Require-Bundle header declares the required bundles for a Scoped
> Subsystem. See Require-Bundle
> on page 967.
>


> 134.15.1.8
> Require-Bundle: *com.acme.logging;version="[1.0, 1.1)"*
> The Require-Bundle header lists bundle requirements for bundle
> capabilities that are to be imported
> into a Scoped Subsystem. See Require-Bundle on page 967.


>


which is the right one?

thanks,

Cristiano
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to