Browse Source

文件夹名称改成uuid.zip,版本信息已经在edition中体现了

bugfix/10.0
alex.sung 6 years ago
parent
commit
8e4c20af88
  1. 9
      designer-realize/src/main/java/com/fr/design/mainframe/messagecollect/impl/FocusPointMessageUploader.java

9
designer-realize/src/main/java/com/fr/design/mainframe/messagecollect/impl/FocusPointMessageUploader.java

@ -89,13 +89,8 @@ public class FocusPointMessageUploader extends AbstractSendDataToCloud {
} }
private void generatePath() { private void generatePath() {
//文件夹名称的格式是: "FocusPoint" + 大版本号 + 小版本号 + randomUuid,均以下划线分隔 //文件夹名称是uuid.zip,版本信息已经在edition中体现了
StringBuilder sb = new StringBuilder(); String folderName = StableUtils.pathJoin(ProductConstants.getEnvHome(), String.valueOf(UUID.randomUUID()));
sb.append(FOCUS_POINT).append(SEPARATOR).
append(ProductConstants.MAIN_VERSION).append(SEPARATOR).
append(ProductConstants.MINOR_VERSION).append(SEPARATOR).
append(UUID.randomUUID());
String folderName = StableUtils.pathJoin(ProductConstants.getEnvHome(), sb.toString());
setFileEntityBuilder(new FileEntityBuilder(folderName)); setFileEntityBuilder(new FileEntityBuilder(folderName));
} }
} }

Loading…
Cancel
Save