Browse Source

Merge pull request #1150 in BA/design from ~VITO/design:release/9.0 to release/9.0

* commit '8e3a2a8c0dc58cd88fbacbe21890612dd5d0ad0a':
  无jira任务 调试模式下读取不到buildPropertiesPath
master
superman 7 years ago
parent
commit
280a4a7a97
  1. 5
      designer_base/src/com/fr/start/BaseDesigner.java

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

@ -48,6 +48,8 @@ public abstract class BaseDesigner extends ToolBarMenuDock {
private Timer timer; private Timer timer;
public BaseDesigner(String[] args) { public BaseDesigner(String[] args) {
BuildContext.setBuildFilePath(buildPropertiesPath());
if (isDebug()) { if (isDebug()) {
setDebugEnv(); setDebugEnv();
} }
@ -59,7 +61,6 @@ public abstract class BaseDesigner extends ToolBarMenuDock {
DesignUtils.clientSend(args); DesignUtils.clientSend(args);
return; return;
} }
BuildContext.setBuildFilePath(buildPropertiesPath());
//下面这两句的位置不能随便调换,因为会影响语言切换的问题 //下面这两句的位置不能随便调换,因为会影响语言切换的问题
initLanguage(); initLanguage();
@ -116,7 +117,7 @@ public abstract class BaseDesigner extends ToolBarMenuDock {
} }
private void bindGlobalListener() { private void bindGlobalListener() {
GlobalListenerProviderManager.getInstance().init(); GlobalListenerProviderManager.getInstance().init();
} }

Loading…
Cancel
Save