-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always include slf4j.simple or m2e.logback in each package #48
Conversation
Fixes eclipse-packaging#27 specifically a follow up for eclipse-packaging#47: eclipse-packaging#47 (comment)
@HannesWell if you have a chance to review to see if this meets your expectation that would be great. PS I added github actions in #49 so each package is now built on PRs: |
This looks perfectly fine. 👍🏽
That's very helpful. |
FYI, I tested generating the product catalogs against staging repositories:
Nothing was changed in the generator. Then I created a committers installation with the installer and I see this in the bundles.info:
No errors are logged on startup. So it looks good. I also tried the Java package. There slf4j.simple is not present but it has this instead:
It has this in the log: So I guess that's okay too. |
Thank you for testing that @merks. It is expected that java, dsl, jee, rcp packages has logback instead of slf4j: $ git grep -B1 org.eclipse.m2e.logback.feature **/epp.product
packages/org.eclipse.epp.package.dsl.product/epp.product- <!-- either m2e.logback or slf4j.simple should be provided in each package -->
packages/org.eclipse.epp.package.dsl.product/epp.product: <feature id="org.eclipse.m2e.logback.feature" installMode="root"/>
--
packages/org.eclipse.epp.package.java.product/epp.product- <!-- either m2e.logback or slf4j.simple should be provided in each package -->
packages/org.eclipse.epp.package.java.product/epp.product: <feature id="org.eclipse.m2e.logback.feature" installMode="root"/>
--
packages/org.eclipse.epp.package.jee.product/epp.product- <!-- either m2e.logback or slf4j.simple should be provided in each package -->
packages/org.eclipse.epp.package.jee.product/epp.product: <feature id="org.eclipse.m2e.logback.feature" installMode="root"/>
--
packages/org.eclipse.epp.package.rcp.product/epp.product- <!-- either m2e.logback or slf4j.simple should be provided in each package -->
packages/org.eclipse.epp.package.rcp.product/epp.product: <feature id="org.eclipse.m2e.logback.feature" installMode="root"/> In addition, if you run eclipsec.exe (or in a terminal on non-Windows) you should see with logback:
and with slf4j:
Which replaces the long standing message:
|
Very good. That's what I see with the installer-created installations based on staging:
|
That's really great. 🎉 Thank you both for testing.
Btw. the ServletContainer is only necessary because Apache Aries cannot handle the edgy metadata of logback. I already provided a patch a while ago, but unfortunately nobody of the Aries maintainers even answered :/ |
Fixes #27 specifically a follow up for #47:
#47 (comment)