Hi, its hard to say what is going wrong without more context. Why are you trying to compile this version of deploymentadmin and not a later one? How does the manifest of the result look like? Why would it import org.apache.felix.deploymentadmin? etc...
regards, Karl On Mon, Oct 29, 2018 at 1:13 PM Mantas Gridinas <mgridi...@gmail.com> wrote: > > Hi! > > I'm trying to compile Apache Felix 0.9.5 Deployment Admin bundle from > sources provided in > https://github.com/apache/felix/commit/33a2fd96113a0959337f8fde22df0fcfafdaed98#diff-70f3719ce35e71bd40c1ac3de64a621b > and I got myself into an issue where an already existing osgi runtime > (Eclipse Kura) fails to start it with the following exception: > > !ENTRY org.apache.felix.deploymentadmin 4 0 2018-10-29 14:04:53.322 > > !MESSAGE FrameworkEvent ERROR > > !STACK 0 > > org.osgi.framework.BundleException: Could not resolve module: > > org.apache.felix.deploymentadmin [19] > > Unresolved requirement: Import-Package: org.apache.felix.deploymentadmin > > > > at org.eclipse.osgi.container.Module.start(Module.java:444) > > at > > org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620) > > at > > org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600) > > at > > org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571) > > at > > org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514) > > at > > org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) > > at > > org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) > > > > > at > > org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) > > > > > ... > > > !ENTRY org.eclipse.osgi 4 0 2018-10-29 14:05:35.130 > > > !MESSAGE Bundle > initial@reference:file:../../kura/plugins/org.apache.felix.deploymentadmin_0.9.5.jar > > was not resolved. > > > > Are there any steps that I should take besides using bundle:bundle to > properly build it and run it in osgi? JAPI checker seems to suggest that my > built osgi bundle jar is 100% compatible with the one that is provided in > Eclipse Kura installation. > > Cheers. -- Karl Pauls karlpa...@gmail.com