Thanks Krysztof

Seems to have quite some dependencies and require me to update osgi version....

zz>start("mvn:org.apache.karaf.features/org.apache.karaf.features.core")
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.karaf.features.core [137]: Unable to resolve 137.0: missing
requirement [137.0] package;
(&(package=org.apache.karaf.region.persist)(version>=3.0.0)(!(version>=4.0.0)))
...

zz>start("mvn:org.apache.karaf.region/org.apache.karaf.region.persist")
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.karaf.region.persist [138]: Unable to resolve 138.0:
missing requirement [138.0] package;
(&(package=org.eclipse.equinox.region)(version>=1.0.0)(!(version>=2.0.0)))
...

zz>start("mvn:org.eclipse.equinox/org.eclipse.equinox.region")
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.eclipse.equinox.region [139]: Unable to resolve 139.0: missing
requirement [139.0] package;
(&(package=org.osgi.framework)(version>=1.6.0))

Cheers,
Reto


On Sun, Feb 10, 2013 at 5:54 PM, Krzysztof Sobkowiak
<[email protected]> wrote:
> Hi Reto
>
> You can use the service org.apache.karaf.features.FeaturesService provided by
> the bundle Apache Karaf :: Features :: Core (org.apache.karaf.features.core)
> which is one of the system bundles in Karaf
>
> Best regards
> Krzysztof
>
>
>
> On Sunday 10 of February 2013 16:56:58 Reto Bachmann-Gmür wrote:
>> Hello
>>
>> I find documentation on how to install features from a feature
>> repository from the karaf command line. However I'm interested in
>> making an OSGi application otherwise not using Karaf to consume Karaf
>> Feature repositories.
>>
>> Is there a karaf bundle providing a service to install features
>> programmatically?
>>
>> Cheers,
>> Reto

Reply via email to