Results 1 to 4 of 4

Thread: Problem about transfer from standard bundle

  1. #1
    Join Date
    Dec 2008
    Location
    Chongwen Zone Beijing China
    Posts
    31

    Default Problem about transfer from standard bundle

    Now I try to use SpringSource DM Server, and transfer our bundle to Spring DM Server powered bundle.

    But I find some problem:
    (1) In order to manage Dependencies in Eclipse GUI, I have to change the Require-Bundle to Import-Bundle in MANIFEST.MF.
    (2) Spring DM Tool can't find the Require(or Import) bundle, although these bundles are added by Eclipse GUI.

  2. #2
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    jiangyubao,

    (1) There is no requirement to change from Require-Bundle to Import-Bundle to use an OSGi bundle on dm Server. Having said that we do recommend to use Import-Bundle because of its cleaner semantics.

    Where and why do you think that this change is a requirement.

    (2) Can you provide a little bit more details about this problem. I'm not sure that I understand the problem.

    Are you saying that if you Import-Bundle: org.springframework.core you get the problem marker saying that the bundle cannot be resolved. If that is the case have you defined a target runtime for your bundle project?

    Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

  3. #3
    Join Date
    Dec 2008
    Location
    Chongwen Zone Beijing China
    Posts
    31

    Default

    Thanks for your reply!

    I known how to resolve this problem. It's another problem decribed by :

    http://forum.springframework.org/showthread.php?t=61559

  4. #4
    Join Date
    Dec 2008
    Location
    Chongwen Zone Beijing China
    Posts
    31

    Default

    I am sorry that this is my first time to use this Tool, and I had resolved this problem.

    Thanks for your reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •