Browse Source

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

master
kerry 7 years ago
parent
commit
1d0e97e64e
  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 static ThreadLocal<String> threadLocal = new ThreadLocal<String>();
private boolean isReadTimeOut = false;
private String buildFilePath;
public RemoteEnv() {
this.clock = new Clock(this);
@ -2036,19 +2037,20 @@ public class RemoteEnv extends AbstractEnv {
public void setLicName(String licName) {
//do nth
}
/**
* 获取当前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