Skip to content

Changes

Summary

  1. releng: Replace org.apache.log4j with org.slf4j.binding.simple (details)
Commit ceb49c6f2ad69a5c257fa379f7c035e76322e908 by Patrick Tasse
releng: Replace org.apache.log4j with org.slf4j.binding.simple

SWTBot project has removed org.apache.log4j from their update site since
version 4.0.0 in 2022-06 with Bug 578065. It is instead using org.slf4j.
Trace Compass has been using fixed SWTBot version 3.1.0 since then. It
will now use the latest SWTBot release and use slf4j api for logging,
with the simplelogger binding.

Update all targets to use latest SWTBot repository.

Update all targets to add org.slf4j.binding.simple from Orbit.

Update all *.swtbot.tests plug-ins to remove dependency on
org.apache.log4j and add dependency on org.slf4j as an Import-Package.

Remove log4j logger configuration from all SWTBot tests.

Update pom.xml to add org.slf4j.binding.simple as extraRequirement for
SWTBot test plug-ins. This enables the binding in CI.

[Changed] Replace org.apache.log4j with org.slf4j.binding.simple

Change-Id: I58c8326c294d9c0dd81e6e00f380c10e4365ffee
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/202336
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 callstack/org.eclipse.tracecompass.incubator.callstack.ui.swtbot.tests/META-INF/MANIFEST.MF (diff)
The file was modified common/org.eclipse.tracecompass.incubator.target/tracecompass-incubator-e4.20.target (diff)
The file was modified common/org.eclipse.tracecompass.incubator.target/tracecompass-incubator-master.target (diff)
The file was modified vm/org.eclipse.tracecompass.incubator.virtual.machine.analysis.ui.swtbot.tests/src/org/eclipse/tracecompass/incubator/virtual/machine/analysis/ui/swtbot/test/vcpu/VirtualResourcesViewTest.java (diff)
The file was modified callstack/org.eclipse.tracecompass.incubator.callstack.ui.swtbot.tests/src/org/eclipse/tracecompass/incubator/callstack/core/ui/swtbot/tests/flamegraph/FlameGraphTest.java (diff)
The file was modified pom.xml (diff)
The file was modified vm/org.eclipse.tracecompass.incubator.virtual.machine.analysis.ui.swtbot.tests/META-INF/MANIFEST.MF (diff)