Results 1 to 3 of 3

Thread: exclude attribute in Export-Package Header

  1. #1
    Join Date
    Nov 2008
    Posts
    232

    Default exclude attribute in Export-Package Header

    Export-Package: com.pg.one;exclude="com.pg.one.BundleOneNot"

    is this not supported in dm-server

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

    Default

    I'll moving this to the dm Server section.
    These aside, the OSGi wiring is handled by the OSGi platform not dm Server so if it's not working, it's likely a problem with your manifest. The OSGi spec is the ultimate resource here - to quote from it:
    Code:
    The directive value is encoded in the Export-Package manifest header like: 
    
    Export-Package: org.osgi.framework; exclude:=”MyStuff*”
    You're missing a ":".
    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

  3. #3
    Join Date
    Nov 2008
    Posts
    232

    Default

    Thanks Costin

    It worked fine

Posting Permissions

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