From 9d90c29ce0273f4c25c9c48905ac67de91c0d394 Mon Sep 17 00:00:00 2001 From: "Destiny.Lin" Date: Fri, 16 Aug 2024 13:55:55 +0800 Subject: [PATCH 1/2] =?UTF-8?q?REPORT-130404=20fbp=E8=AE=BE=E8=AE=A1?= =?UTF-8?q?=E5=99=A8=E8=BF=9C=E7=A8=8B82=EF=BC=8C=E5=B7=B2=E6=9C=89?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E3=80=81=E9=83=A8=E9=97=A8=E3=80=81=E8=A7=92?= =?UTF-8?q?=E8=89=B2=E9=83=BD=E6=8B=BF=E4=B8=8D=E5=88=B0=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index 51b80753fe..9d7d2289d4 100644 --- a/build.gradle +++ b/build.gradle @@ -43,6 +43,7 @@ allprojects { tasks.withType(JavaCompile) { options.encoding = "UTF-8" + options.compilerArgs << "-parameters" } repositories { From 49371411dc8e78469543729a5d22c04bbb368dfe Mon Sep 17 00:00:00 2001 From: "Destiny.Lin" Date: Fri, 16 Aug 2024 14:41:39 +0800 Subject: [PATCH 2/2] =?UTF-8?q?REPORT-130377=20fbp=E9=80=9A=E8=BF=87demo?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E8=BF=98=E6=98=AF=E4=BC=9A=E8=BF=9B=E5=85=A5?= =?UTF-8?q?=E8=B5=B7=E5=A7=8B=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fanruan/boot/init/DesignerInitComponent.java | 4 +++- .../src/main/java/com/fr/start/CarinaDesigner.java | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/designer-realize/src/main/java/com/fanruan/boot/init/DesignerInitComponent.java b/designer-realize/src/main/java/com/fanruan/boot/init/DesignerInitComponent.java index 18f6bdb670..1e67fa72c8 100644 --- a/designer-realize/src/main/java/com/fanruan/boot/init/DesignerInitComponent.java +++ b/designer-realize/src/main/java/com/fanruan/boot/init/DesignerInitComponent.java @@ -58,7 +58,9 @@ public class DesignerInitComponent { @NotNull @Override protected StartupArgs compute() { - return Carina.getApplicationContext().singleton(StartupArgsShell.class).get(); + StartupArgs startupArgs = Carina.getApplicationContext().singleton(StartupArgsShell.class).get(); + FineLoggerFactory.getLogger().info("[designer init args : {} ]", startupArgs); + return startupArgs; } }; diff --git a/designer-realize/src/main/java/com/fr/start/CarinaDesigner.java b/designer-realize/src/main/java/com/fr/start/CarinaDesigner.java index fb0088e3b4..b5077eb1cd 100644 --- a/designer-realize/src/main/java/com/fr/start/CarinaDesigner.java +++ b/designer-realize/src/main/java/com/fr/start/CarinaDesigner.java @@ -17,6 +17,7 @@ import com.fr.start.common.DesignerStartupContext; import com.fr.start.module.StartupArgs; import com.fr.start.server.ServletContextWrapper; +import java.util.Arrays; import java.util.Properties; import java.util.concurrent.TimeUnit; @@ -45,6 +46,7 @@ public class CarinaDesigner extends MainDesigner{ Carina.setPartitionManager(manager); DesignLauncher.setContext(carinaApplicationContext); Carina.getApplicationContext().singleton(StartupArgsShell.class).set(new StartupArgs(args)); + FineLoggerFactory.getLogger().info("start args : {} ", Arrays.toString(args)); Carina.getApplicationContext().singleton(LaunchType.class).set(LaunchType.DESIGNER); DesignLauncher launch = new DesignLauncher("/com/fr/config/starter/designer-startup-carina.xml"); FineRuntime.start();