Browse Source

REPORT-11255 切换本地环境的时候自动启动内置服务器

research/10.0
zack 6 years ago
parent
commit
ba0ab2680a
  1. 8
      designer-realize/src/main/java/com/fr/start/module/DesignerStartup.java

8
designer-realize/src/main/java/com/fr/start/module/DesignerStartup.java

@ -92,6 +92,14 @@ public class DesignerStartup extends Activator {
public void on(Event event, Workspace param) {
getSub(EnvBasedModule.class).start();
ExecutorService service = Executors.newSingleThreadExecutor();
service.submit(new Runnable() {
@Override
public void run() {
FineEmbedServer.start();
}
});
service.shutdown();
}
});
}

Loading…
Cancel
Save