Can the default launch URL use the IP instead of localhost? I use VMWare on my OSX machine and often access the dev mode URL from a Windows VM using IE for testing purposes. Currently I need to manually replace localhost with the machine IP in the URL. It's not a big deal but will add a little convenience if there are no downsides to using IP instead of localhost.
Thanks, Sanjiv On Wed, Nov 4, 2009 at 12:33 AM, <[email protected]> wrote: > > Reviewers: Ray Ryan, bruce, > > Description: > This patch adds support for launching the user's default browser using > several methods. This facility is then used for HelpInfo links in the > logger detail messages (falling back to the old method of using the > Swing HTML panel if none work), including the "launch browser" message. > This won't launch automatically (there are still too many variables, > such as wanting to launch a different browser or a particular profile), > but it will make it much easier to launch if the default is what they > want. It will also give a much better experience for clicking other > HelpInfo links, such as the upgrade message. > > BrowserLauncher includes a main method that takes one or more URLs, so > you can run it with an arg of http://www.google.com, for example, to > make sure it works independent of the Swing logger. I have tested it on > Linux with JDK 1.5 and 1.6 (which is significant since 1.6 adds a > platform-independent way to launch the browser) -- please test on other > platforms and make sure it works properly. > > Please review this at http://gwt-code-reviews.appspot.com/92802 > > Affected files: > dev/core/src/com/google/gwt/core/ext/TreeLogger.java > dev/core/src/com/google/gwt/dev/DevModeBase.java > dev/core/src/com/google/gwt/dev/shell/log/SwingLoggerPanel.java > dev/core/src/com/google/gwt/dev/util/BrowserLauncher.java > > > > --~--~---------~--~----~------------~-------~--~----~ > http://groups.google.com/group/Google-Web-Toolkit-Contributors > -~----------~----~----~----~------~----~------~--~--- > > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
