felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tuomas Kiviaho (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-3973) Exclusion from {local-packages} doesn't work anymore
Date Thu, 21 Mar 2013 16:21:15 GMT

    [ 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

View raw message