Search:

Type: Posts; User: ChrisGgow; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,123

    Thanks. Maven takes care of adding the import,...

    Thanks.

    Maven takes care of adding the import, with the maven-bundle-plugin plugin.



    The following is added to the manifest.

    Import-Package:...
  2. Replies
    8
    Views
    1,123

    No luck I am afraid. The problem happens as...

    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...
  3. Replies
    8
    Views
    1,123

    Hi thanks. I dont think I am trying to start a...

    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...
  4. Replies
    8
    Views
    1,123

    Actually something has appeared to have went...

    Actually something has appeared to have went wrong.

    I am getting the following error



    My console lists:
  5. Replies
    8
    Views
    1,123

    Annotations Question

    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...
  6. Replies
    5
    Views
    844

    I stripped it back and went through adding the...

    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...
  7. Replies
    5
    Views
    844

    Ok. I have taken out all the OSGi related code...

    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


    ...
  8. Replies
    5
    Views
    844

    I am now trying to create a client bundle, which...

    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:
    ...
  9. Replies
    5
    Views
    844

    Another Bundle Question

    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...
  10. Replies
    3
    Views
    678

    Hi, my problem is not really with the...

    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...
  11. Replies
    3
    Views
    678

    Export Package

    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...
  12. Replies
    11
    Views
    1,342

    Hi. Thanks I have looked at this already. 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...
  13. Replies
    11
    Views
    1,342

    Ok. I am looking at the examples. The actual sub...

    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...
  14. Replies
    4
    Views
    2,501

    I did not create that POM file. It was created by...

    I did not create that POM file. It was created by maven.
  15. Replies
    11
    Views
    1,342

    I am not using Eclipse..... I am just deploying...

    I am not using Eclipse..... I am just deploying to bare Equinox.... what can I do myself??
  16. Replies
    4
    Views
    2,501

    As a follow up... I realised the...

    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...
  17. Replies
    4
    Views
    2,501

    Spring Maven Archetype question

    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)
  18. Replies
    11
    Views
    1,342

    Problem starting bundle

    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.
    ...
  19. Replies
    0
    Views
    934

    Spring DM questions.

    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...
Results 1 to 19 of 19