开发者

GWT 2.0 Eclipse plugin - how to automatically launch browser on run / debug?

开发者 https://www.devze.com 2022-12-15 18:49 出处:网络
I\'ve downloaded the new GTW 2.0 and it\'s eclipse plugin In the new eclipse plugin, when running or debugging instead of opening the browser, it shows this:

I've downloaded the new GTW 2.0 and it's eclipse plugin

In the new eclipse plugin, when running or debugging instead of opening the browser, it shows this:

For your convenience, here are some URLs that you may wish to view in development mode. Simply copy/paste a URL below into any supported browser.

At least they could have 开发者_StackOverflowmade the URL clickable (e.g. open your default browser) but you can only copy.

Is there a patent infringment they are trying to avoid? whats so hard in opening a browser link?


It seems they don't support it for some reason, there is no workaround, and it is the intended way.

GWT 2.0 Eclipse plugin - how to automatically launch browser on run / debug?

Notice that your launch configuration is listed in the view, along with some suggested URLs to start up your GWT application. Copy the URL for your application into the browser's address bar by selecting the entry and choosing Copy from the context menu. Once you have navigated to the startup URL in your browser, you'll notice that a browser entry will be added to the launch configuration:

If anyone from Google reads this, it would be nice to explain why on earth you don't launch the URL?


Strange. I haven't looked at this stuff since GWT 1.8 or so, but at that time my favorite browser would pop right up when the app was launched.

I don't know exactly what's wrong in your case, but I'd check the following:

  • Does (double) clicking on a .html file in a file browser (Explorer or whatever you use) cause a browser to open up?

  • What about double clicking"Run as..." on a .jsp file in Eclipse? For me, that fires up Firefox, regardless of GWT. You may want to set up a file association in Eclipse to make this work.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号