Uploaded image for project: 'ServiceMix 4'
  1. ServiceMix 4
  2. SMX4-798

Ensure OBR support is available before boot features are installed

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Now that our features descriptors have been upgraded to leverage the OBR resolver, we should make sure that this resolver is available in the runtime before we start installing the boot features.

        Activity

        Hide
        gertvanthienen Gert Vanthienen added a comment -

        First bit goes into NMR since our features build now inherits from that one.
        http://svn.apache.org/viewvc?view=revision&revision=1089774

        Show
        gertvanthienen Gert Vanthienen added a comment - First bit goes into NMR since our features build now inherits from that one. http://svn.apache.org/viewvc?view=revision&revision=1089774
        Hide
        gertvanthienen Gert Vanthienen added a comment -

        Rest of the work is done in http://svn.apache.org/viewvc?view=revision&revision=1089868, with some additional bits in http://svn.apache.org/viewvc?view=revision&revision=1089867 and a fix for javax.annotation in jre.properties in http://svn.apache.org/viewvc?view=revision&revision=1089869

        The resulting distribution works fine, except for one problem with xbean-spring - bundle gets resolved but not active.

        Show
        gertvanthienen Gert Vanthienen added a comment - Rest of the work is done in http://svn.apache.org/viewvc?view=revision&revision=1089868 , with some additional bits in http://svn.apache.org/viewvc?view=revision&revision=1089867 and a fix for javax.annotation in jre.properties in http://svn.apache.org/viewvc?view=revision&revision=1089869 The resulting distribution works fine, except for one problem with xbean-spring - bundle gets resolved but not active.
        Hide
        gertvanthienen Gert Vanthienen added a comment -

        With http://svn.apache.org/viewvc?view=revision&revision=1090034, the container now starts again properly using the OBR Resolver.

        The key point is to include all the bundles as a dependency in the feature they belong to and not only in the dependent features. The OBR resolver seems to resolve every feature separately, so you have to add e.g. servicemix-shared to the components feature where they can get resolved by an import on the component bundle.

        Show
        gertvanthienen Gert Vanthienen added a comment - With http://svn.apache.org/viewvc?view=revision&revision=1090034 , the container now starts again properly using the OBR Resolver. The key point is to include all the bundles as a dependency in the feature they belong to and not only in the dependent features. The OBR resolver seems to resolve every feature separately, so you have to add e.g. servicemix-shared to the components feature where they can get resolved by an import on the component bundle.

          People

          • Assignee:
            gertvanthienen Gert Vanthienen
            Reporter:
            gertvanthienen Gert Vanthienen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development