You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Stuart McCulloch <st...@jayway.net> on 2008/01/22 04:04:09 UTC

Fwd: Resolved: (FELIX-458) BND: -split-package:=merge-first behaves like merge-last

Hi Alin,

This is now available for testing in 1.2.1-SNAPSHOT of the bundleplugin

-- 
Cheers, Stuart

---------- Forwarded message ----------
From: Stuart McCulloch (JIRA) <ji...@apache.org>
Date: 22 Jan 2008 11:00
Subject: [jira] Resolved: (FELIX-458) BND: -split-package:=merge-first
behaves like merge-last
To: dev@felix.apache.org


     [
https://issues.apache.org/jira/browse/FELIX-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]

Stuart McCulloch resolved FELIX-458.
------------------------------------

    Resolution: Fixed

Updated bndlib to 0.0.231 and deployed 1.2.1-SNAPSHOT

> 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.