From b18c413633329899c49f5a005e0d483a1f180c02 Mon Sep 17 00:00:00 2001 From: richie Date: Fri, 30 Nov 2018 17:27:56 +0800 Subject: [PATCH] =?UTF-8?q?10.0=E5=BC=80=E5=8F=91=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo-simple-config | 1 + demo-system-management | 1 + src/main/java/com/fr/learn/Leaner.java | 6 ++++++ 3 files changed, 8 insertions(+) create mode 160000 demo-simple-config create mode 160000 demo-system-management diff --git a/demo-simple-config b/demo-simple-config new file mode 160000 index 0000000..df5524b --- /dev/null +++ b/demo-simple-config @@ -0,0 +1 @@ +Subproject commit df5524b5dba1caf65b0fba5c50c48fd10a162194 diff --git a/demo-system-management b/demo-system-management new file mode 160000 index 0000000..29a6ca2 --- /dev/null +++ b/demo-system-management @@ -0,0 +1 @@ +Subproject commit 29a6ca235dba058058f8a2780ee145601d6edb90 diff --git a/src/main/java/com/fr/learn/Leaner.java b/src/main/java/com/fr/learn/Leaner.java index 2f81552..c35f2ab 100644 --- a/src/main/java/com/fr/learn/Leaner.java +++ b/src/main/java/com/fr/learn/Leaner.java @@ -4,6 +4,12 @@ import com.fr.start.Designer; public class Leaner extends Designer { + static { + // 这段代码让插件能支持远程设计的时候的调试 + String workDir = System.getProperty("user.dir"); + System.setProperty("fine.plugin.home", workDir + "/webroot/WEB-INF/plugins"); + } + public Leaner(String[] strings) { super(strings); }