Thanks.
Maven takes care of adding the import, with the maven-bundle-plugin plugin.
The following is added to the manifest.
Import-Package:...
Type: Posts; User: ChrisGgow; Keyword(s):
Thanks.
Maven takes care of adding the import, with the maven-bundle-plugin plugin.
The following is added to the manifest.
Import-Package:...
No luck I am afraid.
The problem happens as soon as the manifest entry
Fragment-Host: org.springframework.osgi.extender
is added.
If I remove this, the bundle starts properly, albeit the...
Hi thanks. I dont think I am trying to start a fragment. I have just build a bundle jar with the above MANIFEST. The jar contains a HelloWorld class, the Spring context file, and the Spring...
Actually something has appeared to have went wrong.
I am getting the following error
My console lists:
Is it possible to completely scrap all the wiring xml for both Spring and OSGi?
I have managed to get @ServiceReference wiring sorted, but is there a way to completely remove all the osgi:service...
I stripped it back and went through adding the bundles one at a time again with the extender... It is bootstrapping now. fantastic.
Only one more issue still.
My HelloWorld bundle references...
Ok. I have taken out all the OSGi related code and all I want to do is start and stop a very basic Spring bundle that has no dependencies or anything set up.
All I have is helloworld.xml
...
I am now trying to create a client bundle, which I can start and stop (and have Spring bootstrap).
Classes:
uk.police.pnn.spsa.osgi.HelloWorld (with injector for ContactDao)
Resources:
...
Ok.
I think I have created my service component correctly. I will lay out exactly what I have. I have created my DAO component as follows.
Classes:
uk.police.pnn.spsa.osgi.ContactDao...
Hi, my problem is not really with the specification, but with the way things are bundled the POMs provided. I will break these down in time, but I am just trying to get a few basic vanilla examples...
I have created my simple DAO.
I have a package uk.police.pnn.spsa.osgi.domain which just contains my shared business objects.
I have built this bundle, but it literally has only added this...
Hi. Thanks I have looked at this already. This relies quite heavily on Eclipse and the associated Equinox support through it. It does not fit in with our corporate development environment.
I am...
Ok. I am looking at the examples. The actual sub projects are pretty simple... but the major root POM file is pretty complicated to break down into the basics.
Is it recommended to keep this as...
I did not create that POM file. It was created by maven.
I am not using Eclipse..... I am just deploying to bare Equinox.... what can I do myself??
As a follow up... I realised the osgi-bundle-archetype being used was version 1.0 so I managed to figure out how to create the archetype-catalog.xml and added a new entry for version 1.2.0.
The...
Hi.
If I generate a spring osgi archetype using maven (2.0.8) with
mvn archetype:generate
and then select the option for
spring-osgi-bundle-archetype (Spring-OSGi archetype)
Hi folks.
I have created two bundles from an example at JavaWorld and I am leaning to the idea that something in the tutorial is either wrong or out of date.
...
Is it possible to get some demos of Spring DM that does not involve Eclipse?
I am running the Knopflerfish OSGi desktop here. Is it possible to create Spring modules and deploy into this...