Browse Source

REPORT-5443 [9.0三轮回归]设计器切换到远程目录后,关于界面显示为非安装版本

master
kerry 7 years ago
parent
commit
1d0e97e64e
  1. 4
      designer_base/src/com/fr/env/RemoteEnv.java

4
designer_base/src/com/fr/env/RemoteEnv.java vendored

@ -109,6 +109,7 @@ public class RemoteEnv extends AbstractEnv {
private Timer logTimer = null; private Timer logTimer = null;
private static ThreadLocal<String> threadLocal = new ThreadLocal<String>(); private static ThreadLocal<String> threadLocal = new ThreadLocal<String>();
private boolean isReadTimeOut = false; private boolean isReadTimeOut = false;
private String buildFilePath;
public RemoteEnv() { public RemoteEnv() {
this.clock = new Clock(this); this.clock = new Clock(this);
@ -2042,13 +2043,14 @@ public class RemoteEnv extends AbstractEnv {
* 获取当前env的build文件路径 * 获取当前env的build文件路径
*/ */
public String getBuildFilePath() { public String getBuildFilePath() {
return ResourceConstants.BUILD_PATH; return StringUtils.isEmpty(buildFilePath) ? ResourceConstants.BUILD_PATH : buildFilePath;
} }
/** /**
* 设置当前env的build文件路径 * 设置当前env的build文件路径
*/ */
public void setBuildFilePath(String buildFilePath) { public void setBuildFilePath(String buildFilePath) {
this.buildFilePath = buildFilePath;
} }
/** /**

Loading…
Cancel
Save