Results 1 to 3 of 3

Thread: Manifest Change spring-core 2.5.1 to 2.5.5

  1. #1
    Join Date
    May 2006
    Posts
    14

    Default Manifest Change spring-core 2.5.1 to 2.5.5

    Hello,

    I am just switching from spring version 2.5.1 to 2.5.5.
    In the spring core 2.5.5 Manifest file an entry for:
    Code:
    org.eclipse.core.runtime;resolution:=optional;common=split
    was added.
    I am using the Apache Felix Bundlerepository implementation to bootstrap my OSGi environment and as the
    Code:
    common
    attribute is not in the
    OSGi spec (as far as I know) I get an
    Code:
    org.osgi.framework.InvalidSyntaxException
    Will the import stay this way (why does spring-core have an import for eclipse
    runtime?) because then I have to build my custom spring-core Manifest?

    I don't know if the Spring-DM team is responsible for osgifying the spring core libs - but I didn't know where to post elsewhere...

    Thanx in advance for any help,

    Michael

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

    Default

    Michael, you can check the changelog to see why the import was added - it was likely needed to deal with some resource handling on Equinox environments (such as websphere).
    Exported packages can have custom/arbitrary attributes specified which become labels or tags with a user defined purposes. It seems that Felix doesn't support custom attributes for exported packages based on your exception, which are part of the OSGi spec (see section 3.5.5)
    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
    May 2006
    Posts
    14

    Default

    Hello Costin,

    thank you for your answer.
    It looks like that the common=split attribute is not the problem but that
    bindex (the tool to generate the repository.xml for the OBR) adds another header that
    causes the exception.
    I posted now on the felix user list to find out more....

    Thanx again,

    Michael

Posting Permissions

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