felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-458) BND: -split-package:=merge-first behaves like merge-last
Date Sat, 12 Jan 2008 17:01:51 GMT
BND: -split-package:=merge-first behaves like merge-last

                 Key: FELIX-458
                 URL: https://issues.apache.org/jira/browse/FELIX-458
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
    Affects Versions: 1.2.0
            Reporter: Stuart McCulloch
            Priority: Minor
             Fix For: 1.2.1

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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message