You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by "Craig S. Dickson" <cr...@craigsdickson.com> on 2010/01/27 05:58:30 UTC

Felix SCR v1.4 Question

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.

Thanks

==========================
Craig S. Dickson
http://craigsdickson.com
http://twitter.com/craigsdickson









---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Felix SCR v1.4 Question

Posted by "Richard S. Hall" <he...@ungoverned.org>.
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: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>    

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Felix SCR v1.4 Question

Posted by "Richard S. Hall" <he...@ungoverned.org>.

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

The 1.4 is not a JAR version, it is a package version. I think you will 
find that the OSGi 4.1 JAR does export that package range.

-> richard

> 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.
>
> Thanks
>
> ==========================
> Craig S. Dickson
> http://craigsdickson.com
> http://twitter.com/craigsdickson
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>    

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org