]
Nick Boldt updated JBIDE-23415:
-------------------------------
Priority: Minor (was: Blocker)
use Import-Package instead of Require-Bundle for slf4j.api
[livereload]
-----------------------------------------------------------------------
Key: JBIDE-23415
URL:
https://issues.jboss.org/browse/JBIDE-23415
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: livereload, rpm
Affects Versions: 4.4.2.AM2
Reporter: Nick Boldt
Assignee: Xavier Coulon
Priority: Minor
Fix For: 4.4.2.AM3
Because livereload tools 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-livereload/blob/44af911aba916f0e...
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-packa...
http://stackoverflow.com/questions/1865819/when-should-i-use-import-packa...