[
https://issues.apache.org/jira/browse/KARAF-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Łukasz Dywicki updated KARAF-294:
---------------------------------
Attachment: example-hook.zip
> OSGi framework extensions are not visible for host bundle
> ---------------------------------------------------------
>
> Key: KARAF-294
> URL: https://issues.apache.org/jira/browse/KARAF-294
> Project: Karaf
> Issue Type: Bug
> Components: runtime
> Affects Versions: 2.1.1
> Reporter: Łukasz Dywicki
> Attachments: example-hook.zip
>
>
> OSGi frameworks supports extensions. For example we may attach load-time
> weaving to Equinox using org.eclipse.equinox.waving.hook fragment. I am not
> sure if the Equinox supports that correctly. When I start equinox as below:
> cd sources\karaf-2.1.2
> java -cp
> system\hook-2.1.2.jar;system\org\eclipse\osgi\3.6.0.v20100517\osgi-3.6.0.v20100517.jar
> org.eclipse.core.runtime.adaptor.EclipseStarter -console
> Works fine (extension is started).
> But when I try to use:
> java -cp system\org\eclipse\osgi\3.6.0.v20100517\osgi-3.6.0.v20100517.jar
> org.eclipse.core.runtime.adaptor.EclipseStarter -console
> install file:system\hook-2.1.2.jar
> It doesn't work.
> At this moment all framework extensions has to be in boot classpath even if
> they're correct OSGi bundles (fragments). There is no way to add these
> extensions at runtime and apply after restart. I also attach sample project
> which can be helpfull in testing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.