Browse Source

Merge pull request #1434 in BA/design from ~KERRY/design:release/9.0 to release/9.0

* commit '1d0e97e64ecd9fdc765721c645601e24dbaf9896':
  REPORT-5443 [9.0三轮回归]设计器切换到远程目录后,关于界面显示为非安装版本
master
superman 7 years ago
parent
commit
b8ba6eb9de
  1. 8
      designer_base/src/com/fr/env/RemoteEnv.java

8
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);
@ -2036,19 +2037,20 @@ public class RemoteEnv extends AbstractEnv {
public void setLicName(String licName) { public void setLicName(String licName) {
//do nth //do nth
} }
/** /**
* 获取当前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