Hi, Stephan Heuser schrieb: > Well my properties file for running felix on android for some reason > stated the framework version being 2.0.0, which was obviously wrong.
I see. > > By the way the scr bundle on android refuses work without removing the > kxml2 library from the bundle first (i remember matthias neubert had > the same issue with obr). Interesting --- and does it work with removing the library from the bundle ? Maybe someone more knowledgeable in Android may jump in. Regards Felix > > On Mon, Nov 9, 2009 at 2:37 PM, Felix Meschberger <[email protected]> wrote: >> Hi >> >> for completeness: I assume you saw, that the Felix framework 2.0.2 >> system bundle does export org.osgi.framework in version 1.5 and not 2.0, >> right ? ;-) >> >> Regards >> Felix >> >> Stephan Heuser schrieb: >>> Nevermind i got it. Such things always happens when there is no more >>> coffee in the office :) ... thanks anyways. >>> >>> On Mon, Nov 9, 2009 at 2:05 PM, Stephan Heuser <[email protected]> >>> wrote: >>>> On Mon, Nov 9, 2009 at 2:01 PM, Stephan Heuser <[email protected]> >>>> wrote: >>>>> Felix Meschberger wrote: >>>>>> Hi, >>>>>> >>>>>> Stephan Heuser schrieb: >>>>>>> Hi, >>>>>>> >>>>>>> i am a bit irritated. The manifest of the SCR bundle specifies it >>>>>>> needs a version of org.osgi.framework < 2.0.0 . Am i missing >>>>>>> something, has the service runtime component merged with the framework >>>>>>> bundle? >>>>>> No merge at all, the SCR bundle just expects a framework as specified in >>>>>> R 4.1 or later (but not a 2.0.0 or higher version). >>>>> Thanks for your quick answer. Since org.apache.felix.framework 2.0.1 >>>>> provides version 2.0.1 does this mean declarative services are not >>>>> usable with the current stable felix framework bundle? >>>> erm... i mean "provides version 2.0.0 of org.osgi.framework..." . sorry. >>>> >>>>> From org.apache.felix.framework manifest: >>>>> >>>>> Bundle-Description = This bundle is system specific; it implements >>>>> various system services. >>>>> Bundle-ManifestVersion = 2 >>>>> Bundle-Name = System Bundle >>>>> Bundle-SymbolicName = org.apache.felix.framework >>>>> Bundle-Version = 2.0.1 >>>>> Export-Package = org.osgi.framework; version="2.0.0", ... >>>>> >>>>> Cheers, >>>>> Stephan >>>>> >>>>>>> cf. : >>>>>>> W/System.err( 1119): org.osgi.framework.BundleException: Unresolved >>>>>>> constraint in bundle org.apache.felix.scr [4]: package; >>>>>>> (&(package=org.osgi.framework)(version>=1.4.0)(!(version>=2.0.0))) >>>>>> If I read this correctly, it says that the framework package version >>>>>> must be greater than or equal to 1.4 (which is the R 4.1 framework >>>>>> package version) and smaller than 2.0.0 (which is a potential future >>>>>> framework package version with potentially incompatible changes). >>>>>> >>>>>> You should check whether the framework you use is recent enough ... >>>>>> >>>>>> Regards >>>>>> Felix >>>>>> >>>>>>> Cheers, >>>>>>> Stephan >>>>>>> >>>>>>> --------------------------------------------------------------------- >>>>>>> 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] >>>>>> >>> --------------------------------------------------------------------- >>> 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] >> >> > > --------------------------------------------------------------------- > 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]

