[jbosstools-issues] [JBoss JIRA] (JBIDE-23414) use Import-Package instead of Require-Bundle for slf4j.api [central]

Lukáš Valach (JIRA) issues at jboss.org
Fri Nov 4 08:24:01 EDT 2016


     [ https://issues.jboss.org/browse/JBIDE-23414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Valach closed JBIDE-23414.
--------------------------------


Verified in 4.4.2.AM3 (rh-eclipse46-devstudio-10.2-0.20161103.1913.el7.x86_64.rpm), plugin has been removed but there are still some GWT files. This problem will be solved in [JBIDE-23467|https://issues.jboss.org/browse/JBIDE-23467].

> use Import-Package instead of Require-Bundle for slf4j.api [central]
> --------------------------------------------------------------------
>
>                 Key: JBIDE-23414
>                 URL: https://issues.jboss.org/browse/JBIDE-23414
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central, rpm
>    Affects Versions: 4.4.2.AM2
>            Reporter: Nick Boldt
>            Assignee: Fred Bricon
>            Priority: Minor
>             Fix For: 4.4.2.AM3
>
>
> Because central use Require-Bundle instead of Import-Package to depend on slf4j.api, this project cannot use the rhel implementation (rh-common-java rpm) version of slf4j.api 1.7.4 .jar when installed via rpm on rhel/fedora.
> Here's the line that is causing the problem:
> https://github.com/jbosstools/jbosstools-central/blob/fc4bfc7aea223c95b71f9e7634f4cb17d1af1461/maven/plugins/org.jboss.tools.maven.gwt/META-INF/MANIFEST.MF#L13
> We need to switch to using Import-Package to that *any* implementation of this package, regardless of *Bundle-SymbolicName*, can be used.
> More info in  JBDS-4136 
> See also:
> http://stackoverflow.com/questions/13959891/why-do-we-need-imported-packages-when-we-have-required-plug-ins-in-eclipse-p
> http://stackoverflow.com/questions/1865819/when-should-i-use-import-package-and-when-should-i-use-require-bundle



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list