From b9cb4799d5d0e49129e93c2c3523731a1bba1d94 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Mon, 3 Jul 2023 23:53:11 +0200 Subject: [PATCH] [SDK-Product] Add slf4j-simple and auto-start it and Aries spifly Add the slf4j-simple bundle instead of slf4j-nop, but disable all logging by default. This allows users to configure logging at their discretion in the eclipse.ini: https://www.slf4j.org/api/org/slf4j/simple/SimpleLogger.html Additionally auto-start Aries SPI-Fly bundle and slf4j-simple in SDK to allow the slf4j-api bundle to find the simple provider and thus prevents error messages about missing bindings. Fixes https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/1094 Fixes https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/1226 --- .../eclipse-sdk-prereqs.target | 2 +- .../eclipse.platform.repository/platform.product | 6 ++++-- .../eclipse.platform.repository/platform.sdk.product | 6 ++++-- .../eclipse.platform.repository/sdk.product | 6 ++++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/eclipse.platform.releng.prereqs.sdk/eclipse-sdk-prereqs.target b/eclipse.platform.releng.prereqs.sdk/eclipse-sdk-prereqs.target index 0f7d1df348d..8ae1668ef71 100644 --- a/eclipse.platform.releng.prereqs.sdk/eclipse-sdk-prereqs.target +++ b/eclipse.platform.releng.prereqs.sdk/eclipse-sdk-prereqs.target @@ -208,7 +208,7 @@ org.slf4j - slf4j-nop + slf4j-simple 2.0.7 jar diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.product b/eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.product index 0a69c27b151..d2fdff5e8e4 100644 --- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.product +++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.product @@ -1,7 +1,7 @@ - + @@ -9,7 +9,7 @@ --launcher.defaultAction openFile --launcher.appendVmargs - -Dosgi.requiredJavaVersion=17 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms40m -Xmx512m --add-modules=ALL-SYSTEM + -Dosgi.requiredJavaVersion=17 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms40m -Xmx512m --add-modules=ALL-SYSTEM -Dorg.slf4j.simpleLogger.defaultLogLevel=off -Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts @@ -183,12 +183,14 @@ United States, other countries, or both. + + diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.sdk.product b/eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.sdk.product index fd7dff3f1e0..ba2b8844a08 100644 --- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.sdk.product +++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/platform.sdk.product @@ -1,7 +1,7 @@ - + @@ -9,7 +9,7 @@ --launcher.defaultAction openFile --launcher.appendVmargs - -Dosgi.requiredJavaVersion=17 -Xms40m -Xmx384m --add-modules=ALL-SYSTEM + -Dosgi.requiredJavaVersion=17 -Xms40m -Xmx384m --add-modules=ALL-SYSTEM -Dorg.slf4j.simpleLogger.defaultLogLevel=off -Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts @@ -185,12 +185,14 @@ United States, other countries, or both. + + diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/sdk.product b/eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/sdk.product index 95fe17f1f00..b68b6cd62f2 100644 --- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/sdk.product +++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse.platform.repository/sdk.product @@ -1,7 +1,7 @@ - + @@ -9,7 +9,7 @@ --launcher.defaultAction openFile --launcher.appendVmargs - -Dosgi.requiredJavaVersion=17 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms256m -Xmx2048m --add-modules=ALL-SYSTEM + -Dosgi.requiredJavaVersion=17 -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms256m -Xmx2048m --add-modules=ALL-SYSTEM -Dorg.slf4j.simpleLogger.defaultLogLevel=off -Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts @@ -188,12 +188,14 @@ United States, other countries, or both. + +