Results 1 to 2 of 2

Thread: how to reference class in another par

  1. #1
    Join Date
    Feb 2009
    Posts
    6

    Default how to reference class in another par

    I packaged one par include one bundle named bundleA,and bundleA export com.a.b package, and it register one component as serviceA.then it is deployed in the springsource dm server 1.0.2 successfully.
    Then I create other one bundleB out of the par.I wanna reference serviceA exported by bundleA,at the BundleB's MANIFEST.MF include " Import-Package:com.a.b;version="[0.0.0,2.0.0)" " , but it always throws "Unsatisfied leaf constraints:
    Bundle: com.a.bundleB_1.2.0.SNAPSHOT - Import-Package: com.a.b; version="[0.0.0,2.0.0)"
    Did you mean: 'com.a.b'?" execption.

    but if bundleA and bundleB deploy in hotdeploy dir pickup, it works well.

    how to reference class in another par?

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Moved to dmServer forums.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

Posting Permissions

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