logging-log4j2 icon indicating copy to clipboard operation
logging-log4j2 copied to clipboard

[LOG4J2-3319] Add support for log4j 1.2 API bundle in Eclipse IDE

Open benjaminr-ps opened this issue 3 years ago • 4 comments

This will add the "Eclipse-ExtensibleAPI" header to the manifest of "core" bundle, to allow any fragement (resp. the log4j 1.2 bridge) to extend the API of core bundle.

benjaminr-ps avatar Jan 07 '22 08:01 benjaminr-ps

Should other modules include this type of change?

garydgregory avatar Jan 08 '22 02:01 garydgregory

No, the change is made in log4j-core, only.

But have seen that several other libraries, like "log4j-appserver" or "log4j-cassandra" or ..., would benefit from this change, if developed within Eclipse IDE (resp. with their PDE tooling).

benjaminr-ps avatar Jan 10 '22 10:01 benjaminr-ps

https://issues.apache.org/jira/browse/LOG4J2-3319

garydgregory avatar Jan 10 '22 16:01 garydgregory

This looks like it should work. @garydgregory the fragments thing has to do with modules scanning for non-public bits for the most part. Generally, that means the 2.x plugin system needs the fragment hack to find and load plugins, but 3.x can rely on service definitions instead.

jvz avatar Jan 23 '22 02:01 jvz

This was closed automatically by Github because we renamed the release-2.x branch to 2.x. Feel free to resubmit to the 2.x branch.

ppkarwasz avatar Mar 01 '23 07:03 ppkarwasz