[jboss-jira] [JBoss JIRA] Commented: (JBCL-25) Add support for "split packages"

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Tue Aug 25 08:24:23 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBCL-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12482607#action_12482607 ] 

Thomas Diesler commented on JBCL-25:
------------------------------------

The bnd tool says:

http://www.aqute.biz/Code/Bnd

The -split-package: directive on the Export-Package/Private-Package clause allows fine grained control over what should be done with split packages. 

The following values are architected:

merge-first	
  Merge split packages but do not add resources that come later in the classpath. That is, the first resource wins. 
  This is the default, although the default will generate a warning

merge-last	
  Merge split packages but overwrite resources that come earlier in the classpath. That is, the last resource wins.

first	
  Do not merge, only use the first package found

error	
  Generate an error when a split package is detected

> Add support for "split packages"
> --------------------------------
>
>                 Key: JBCL-25
>                 URL: https://jira.jboss.org/jira/browse/JBCL-25
>             Project: JBoss ClassLoader
>          Issue Type: Task
>          Components: Dependencies
>            Reporter: Adrian Brock
>            Assignee: Thomas Diesler
>
> This involves ignoring conflicts where two classloaders provides part of the same package at the same version.
> Currently this produces an error.
> Eventually this must also include some kind of "package fragment' notion like OSGi
> where the packages end up in the same physical classloader.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list