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 (JIRA)" <ji...@apache.org> on 2008/12/05 12:03:45 UTC
[jira] Updated: (FELIX-843) Regression: BND 0.0.295 does not
augment Ignore-Package with excluded import packages
[ https://issues.apache.org/jira/browse/FELIX-843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart McCulloch updated FELIX-843:
-----------------------------------
Attachment: FELIX-843-BND-PATCH.txt
Suggested patch that lets the analyzer update the ignored package map
(note: this patch also fixes a potential bug in looking up the BND version - the current method uses getClass() to find the bnd.info file - this is not guaranteed to work when the Analyzer has been subclassed, safer to use Analyzer.class instead)
> Regression: BND 0.0.295 does not augment Ignore-Package with excluded import packages
> -------------------------------------------------------------------------------------
>
> Key: FELIX-843
> URL: https://issues.apache.org/jira/browse/FELIX-843
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Reporter: Stuart McCulloch
> Assignee: Peter Kriens
> Attachments: FELIX-843-BND-PATCH.txt
>
>
> Earlier releases of BND used to augment the Ignore-Package directive with any import packages the developer had explicitly excluded (for example when Bnd detects a package referred to by some class in the bundle, but the developer knows this will never actually be used at runtime, he/she would exclude it with !org.foo.bar). This was necessary so the verifier knew to ignore these packages during verification, and not report them as build errors.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.