Browse Source

Merge pull request #1200 in DESIGN/design from ~HARRISON/design:release/10.0 to release/10.0

* commit '1363e2e381870d6cda29a43d2806a2588b966eac':
  REPORT-22768 最新的release,同一tomcat下无法部署两个工程 调整一下临时文件的删除位置
feature/big-screen
Harrison 5 years ago
parent
commit
f7a951a78c
  1. 3
      designer-realize/src/main/java/com/fr/start/module/PreStartActivator.java

3
designer-realize/src/main/java/com/fr/start/module/PreStartActivator.java

@ -5,6 +5,7 @@ import com.fr.design.RestartHelper;
import com.fr.design.i18n.Toolkit;
import com.fr.design.utils.DesignUtils;
import com.fr.event.EventDispatcher;
import com.fr.file.TmpFileUtils;
import com.fr.general.CloudCenter;
import com.fr.general.GeneralContext;
import com.fr.module.Activator;
@ -17,6 +18,8 @@ public class PreStartActivator extends Activator {
@Override
public void start() {
//清空临时文件
TmpFileUtils.cleanUpInnerTmpFiles();
RestartHelper.deleteRecordFilesWhenStart();
//初始化
EventDispatcher.fire(ModuleEvent.MajorModuleStarting, Toolkit.i18nText("Fine-Design_Basic_Initializing"));

Loading…
Cancel
Save