Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-458

BND: -split-package:=merge-first behaves like merge-last

    XMLWordPrintableJSON

Details

    Description

      BND has a split-package directive used to combine packages with different/overlapping content. However, the 'merge-first' setting appears to behave like 'merge-last' which means you cannot use this to overlay local classes on top of inlined dependencies, because the local class would be overwritten by the one from the dependency (as it appears after it on the classpath, and is merged last).

      The current workaround is to use Include-Resource to explicitly overwrite the affected class with the correct version.

      I've raised this issue with Peter, and suggested a fix. This issue will target the next maintenance release after version 1.2.0 of the plugin.

      Attachments

        Activity

          People

            mcculls Stuart McCulloch
            mcculls Stuart McCulloch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: