[
https://issues.apache.org/jira/browse/FELIX-3973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tuomas Kiviaho updated FELIX-3973:
----------------------------------
Attachment: FELIX-3973.diff
Reattaching once more. I reverted unnecessary modifications from the code while
fixing one bug that I accidentally introduced. Sorry about the inconvenient GIT
diff format.
Key of this patch is to retrieve properties without waking up BND macros at
this point.
I also use BNDs PackageRef instead of direct string manipulation to ensure that
delimiter is compatible with BND macros and list notation (, instead of ;).
I'll repatch the FELIX-3381 also so that macros can be allied to sources and
resources
PS. I don't recollect reading a documentation about automatic split package
which I think is great considering that plugin takes care of classpath already.
For some reason it was only applied to the last package which I don't believe
being intentional.
> 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
> Attachments: FELIX-3973.diff
>
>
> 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