Reviewers: mmendez, jat, Description: Modified the remote UI protocol to send an initialization message with the client id. The client id is passed in as an argument on the command line. The purpose of this "dance" is to give us a way to associate a running launch configuration with an incoming remote UI connection on the plugin side.
We also need to pass the browser channel port and the web server port as part of the initialization message (in order to construct the launch URLs). To be able to do this at ui.initialize, we had to change the auto-port selection logic to substitute in a free port number (which we compute) instead of 0. That way, we know what ports the browser channel and the web server will be on before they start up. NOTE: RemoteMessageProto.java is part of this CL as well, but it is too large to upload. The changes correspond to the changes seen in the .proto file, plus the rebasing from com.google.protobuf to com.google.gwt.dev.protobuf. Please review this at http://gwt-code-reviews.appspot.com/89809 Affected files: M dev/build.xml M dev/core/src/com/google/gwt/dev/DevModeBase.java M dev/core/src/com/google/gwt/dev/shell/BrowserListener.java M dev/core/src/com/google/gwt/dev/shell/remoteui/RemoteUI.java M dev/core/src/com/google/gwt/dev/shell/remoteui/ViewerServiceClient.java M dev/core/src/com/google/gwt/dev/shell/remoteui/remotemessage.proto --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---