[ 
https://issues.apache.org/jira/browse/LOG4J2-3319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17469270#comment-17469270
 ] 

Gary D. Gregory commented on LOG4J2-3319:
-----------------------------------------

What version of Eclipse are you using?

> Add minimal support for log4j 1.2 API bundle usage in Eclipse IDE
> -----------------------------------------------------------------
>
>                 Key: LOG4J2-3319
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3319
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Core, log4j 1.2 emulation, OSGi
>    Affects Versions: 2.12.4
>            Reporter: Benjamin Röhl
>            Priority: Major
>
> h2. Status Quo
> The "log4j core" and "log4j 1.2 api" library (and others as well) are build 
> as bundle.
> The compatibility library is build as fragment.
> h2. Problem
> Using the log4j core and 1.2 api library in Eclipse-runtime (via [target 
> platform|https://wiki.eclipse.org/PDE/Target_Definitions]) does not properly 
> work out, since the _1.2 api_ fragment bundle is extending the _core_ 
> bundle's api, by declaring extra _Export-Packages_ statements for log4j 1.2 
> api.
> Unfortunately Eclipse is not capable of resolving those extra added API (via 
> {_}Export-Packages{_}) from a fragement, even though at runtime it is 
> supposed to work.
> h2. Solution Proposal
> Add the following bundle manifest header to _core_ bundle, to support the 
> extra added API by the _1.2 api_ fragement bundle:
> {code:java}
> Eclipse-ExtensibleAPI: true{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to