Skip to content

Changes

Summary

  1. releng: Fix SLF4J logging for staging platform (details)
  2. swtbot: Print user instructions to enable SLF4J logging (details)
Commit 76f0fe7be81591ffced427e8c693b41e5c6429c0 by Patrick Tasse
releng: Fix SLF4J logging for staging platform

The bundle slf4j.simple is no longer a fragment of slf4j.api like
org.slf4j.binding.simple was in SLF4J 1.7.30. As a consequence, the
fragment org.eclipse.tracecompass.slf4j.binding.simple.properties must
set slf4j.simple as its Fragment-Host because it is this plugin's class
loader that will attempt to find the simplelogger.properties resource.

In order for org.slf4j.simple.SimpleServiceProvider to be found by the
ServiceLoader, plugins org.apache.aries.spifly.dynamic.bundle and
slf4j.simple must have their autoStart set to "true" in the
swtbot-test-plugin profile.

For manual testing the user will need to manually set the Auto-Start to
"true" for these two plugins in the JUnit Plug-in Test Run/Debug
Configuration in Eclipse.

Change-Id: I4a325248c1c5952e41fb0e4c3fb1d8163a631e90
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/205286
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
The file was modified pom.xml (diff)
The file was modified releng/org.eclipse.tracecompass.slf4j.binding.simple.properties/staging/MANIFEST.MF (diff)
Commit 97835fcbc8dc9e6bd17b7666730798f9f4a0c92c by Patrick Tasse
swtbot: Print user instructions to enable SLF4J logging

Change-Id: I115be05e8cc9d608e5657826e4ad997ec5dd02f9
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/205303
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
The file was modified tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/shared/org/eclipse/tracecompass/tmf/ui/swtbot/tests/shared/SWTBotUtils.java (diff)
The file was modified tmf/org.eclipse.tracecompass.tmf.ui.swtbot.tests/META-INF/MANIFEST.MF (diff)