Community
Participate
Working Groups
It happens often that users forget to select the required Jetty bundles when they create an RAP Launch configuration. The button "Add Required Plug-ins" doesn't help also. May be we can add a validation which shows an warning in case the required Jetty bundles are'n selected.
We should remember to include Jetty 7 in the validated bundle id pattern, as the 1.4 Tooling might also be used with later target platforms.
Another possible solution here beside bundle id pattern validation could be to ping the server on "locahost:port". Currently, we are doing it when a launch configuration is started and we open the browser when the server is there. We have also an timeout for the server. When the timeout is exceeded and there is no server listening on "locahost:port" we just open the browser. What about to show an warning dialog in this case which says e.g. "Hey something is wrong with your server. May be you forgot to select the Jetty bundles". IMO this is a better solution because we aren't bound with some Jetty bundle ids and can react generally to server problems.