Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-417

spring-ws-core-tiger should be declared as an OSGi fragment since it contributes classes to packages from spring-ws-core

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.4
    • Fix Version/s: 1.5.5
    • Component/s: Core
    • Labels:
      None

      Description

      Currently, despite all Spring WS JARs being OSGi bundles, you can't use classes from spring-ws-core-tiger in an OSGi container. This is due to spring-ws-core-tiger exporting packages that are already exported by spring-ws-core.

      The easiest fix for this would be to change spring-ws-core-tiger to a fragment bundle, with its host bundle set to spring-ws-core. This can be fixed by adding the following manifest entry to spring-ws-core-tiger.

      Fragment-Host: org.springframework.bundle.ws.core;version="[1.5.4, 1.5.4]"

      I have not checked if the oxm/oxm-tiger JARs have a similar issue.

        Activity

        Hide
        arjen.poutsma Arjen Poutsma added a comment -
        Show
        arjen.poutsma Arjen Poutsma added a comment - As a temporary workaround, you can use the Bundle Repository bundles, for instance: http://www.springsource.com/repository/app/bundle/version/detail?name=org.springframework.oxm.java5&version=1.5.4.A&searchType=bundlesByName&searchQuery=xml
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing old issues

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing old issues

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            mpilquist Michael Pilquist
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: