ju 7 years ago
parent
commit
d0c789075f
  1. 8
      designer_base/src/com/fr/start/BaseDesigner.java

8
designer_base/src/com/fr/start/BaseDesigner.java

@ -63,6 +63,11 @@ public abstract class BaseDesigner extends ToolBarMenuDock {
public BaseDesigner(String[] args) { public BaseDesigner(String[] args) {
init(args);
}
private void init(String[] args) {
RestartHelper.deleteRecordFilesWhenStart(); RestartHelper.deleteRecordFilesWhenStart();
ConfigManagerFactory.registerConfigManagerProxy(new ConfigManagerCreatorProxy()); ConfigManagerFactory.registerConfigManagerProxy(new ConfigManagerCreatorProxy());
//启动core //启动core
@ -204,7 +209,8 @@ public abstract class BaseDesigner extends ToolBarMenuDock {
//在VM options里加入-Ddebug=true激活 //在VM options里加入-Ddebug=true激活
private boolean isDebug() { private boolean isDebug() {
return "true".equals(System.getProperty("debug"));
return ComparatorUtils.equals("true", System.getProperty("debug"));
} }
private static final int DEBUG_PORT = 51463; private static final int DEBUG_PORT = 51463;

Loading…
Cancel
Save