On 1/26/10 23:58, Craig S. Dickson wrote:
Hi,
I noticed that the 1.4.0 version of the org.apache.felix.scr bundle, has a
reference to the org.osgi.framework in the Import-Package field of the manifest.
However the version required for the org.osgi.framework package is 1.4 to 2.0
(exlusive).
Looking in the Maven repository at http://repo1.maven.org/maven2/org/osgi/
there are no jars with versions in that required range, most of them in the
4.0+ range.
So firstly, is this a good representation of the available OSGi jars, or is
there a better place to get them (pref. in a Maven repo)?
Next, the required version seems to be a quite old version. Is this actually
the case or am I missing something?
I have written most of my app. against the newer 4.2.0 OSGi jars, so having to
retrofit back to these older ones just to get SCR support sounds like a big
problem for me.
I should also add that OSGi APIs are nearly always backwards compatible,
so running bundles against newer versions is normally not an issue. It
is always better to target the lowest version needed, not the highest
version available to ensure your bundles run in a broader context.
-> richard
Thanks
==========================
Craig S. Dickson
http://craigsdickson.com
http://twitter.com/craigsdickson
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]