Community
Participate
Working Groups
The current setupLaunch behaviour of org.eclipse.jst.server.generic.core.internal.ExternalServerBehaviour is an issue in the following circumstances. We have a "remote"/external serverType defined. It is handy to be able to create a server based on this which is actually running on localhost, but is controlled outside of Eclispe/WTP. So the start behaviour is a no-op. But ExternalServerBehaviour.setupLaunch calls GenericServerBehaviour.setupLaunch which checks to see if the port is in use if the server is localhost, and displays an error message if it is. It should be possible to define a flag that overrides this behaviour i.e. allows external servers on localhost that are already running, doesn't check if the port is in use. The alternative to a flag is maybe a 'ExternalServerConnectBehaviour' that extends ExternalServerBehaviour (which is what we have done in the interm).
This is a valid request, but since there has been no resource to work on this I am adding the helpwanted keyword to request help from the community.