[
https://issues.apache.org/jira/browse/FELIX-3973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13609081#comment-13609081
]
Tuomas Kiviaho commented on FELIX-3973:
---------------------------------------
I removed the patch after Peter pointer out that I was doing-it-wrong. Proper
way of doing it would be to use macros but alas they don't seem to be working
with {local-packages}. I noticed also that split packages clause is only
applied to the last of the local package. I'll deliver a new patch soon.
> Exclusion from {local-packages} doesn't work anymore
> ----------------------------------------------------
>
> Key: FELIX-3973
> URL: https://issues.apache.org/jira/browse/FELIX-3973
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Environment: bnd 2.0.0.x
> Reporter: Tuomas Kiviaho
>
> I've been using Export-Package: !org.apache.jsp.*, {local-packages} to
> exclude jspc compilers output, but with BND 2.0.0 this stopped working
> completely (although until now I was getting a bunch of warnings).
> BND currently gives a second chance to non matching packages. This feature
> will rended !org.apache.jsp.* useless since {local-packages} is expanded to
> clause that contains org.apache.jsp prefixed packages.
> A fix would be to pre-filter the {local-packages} against
> Export/Private-Package clauses
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira