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

Loading…
Cancel
Save