Browse Source

Merge pull request #472 in DESIGN/design from ~ZACK/design:feature/10.0 to feature/10.0

* commit 'ba0ab2680a5d411fe37f32996e9c893da04a4ab1':
  REPORT-11255 切换本地环境的时候自动启动内置服务器
research/10.0
zack 6 years ago
parent
commit
ce69006aa1
  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