How run several instances of GWT application in IntelliJIDEA

84 Views Asked by At

I have two related applications in separate modules, and sometimes I need to launch both.

This cannot be done because of obvious problem - matching ports:

  • Jetty http-server occupies 8888 port,
  • Server for debug purposes (on which port?).

that will be occupied by first launched application.

And there can be something else that I don't see...

So my question: how to launch several instances of gwt application, in relation to IntelliJ IDEA?

1

There are 1 best solutions below

1
On

You can specify the port in the VM-properties in the instance of your Jetty-VM for example.

-Djetty.port=8100