Thursday, January 8, 2015

Re: What's the long-term recommendation for GWT debugging on a Mac?



On Thursday, January 8, 2015 5:25:30 PM UTC+1, Rob wrote:
I'm getting started with GWT, fired up the example webapp, and when I browsed to it in Chrome 39.0.2171.95 I was repeatedly prompted to install the GWT plugin, even after it was already installed and enabled. Tried restarting Chrome, same result--I install the plugin and it still keeps prompting me to install it, even after I confirm that it's installed and enabled. Then I tried Safari; no dice--the prompt to install GWT recommended some other browser I've never heard of.  Finally I tried in Firefox, but the prompt said to use Firefox v3.0-v26 (I suspect because my version was the latest, and I just saw a post from yesterday that 27 will not be supported).  I followed the prompt's recommendation and downgraded to v24, and now the GWT plugin seems to be working (at least, I don't get the prompt any longer), but this is going to be a pain maintaining a separate, old browser just for GWT debugging.

So, getting back to the original question: what's the long-term browser recommendation for using the GWT developer plugin on a Mac?  Is it even worth using the GWT developer plugin if support for all the common browsers is being dropped?  If not, then how do I disable the prompt and what should I use instead?

Use SuperDevMode http://www.gwtproject.org/articles/superdevmode.html
If you use GWT 2.7, this is now the default (unless you use IDE plugins, in which case you might have to explicitly choose to run with SuperDevMode), and you can run you server-side and client-side code with only one command.
With previous versions, you have to launch a servlet container for your server code and the CodeServer tool from the GWT SDK for your client-side code, and use bookmarklets in your browser to turn on SuperDevMode.

Hint: if you have "?gwt.codesvr=" in your URL, then you're doing something wrong and still using "classic DevMode".

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment