Sunday, July 6, 2014

Re: GWT Developer Plugin no longer works with Chrome on Linux

Hi Thomas!

On Sunday, July 6, 2014 5:17:53 PM UTC+2, Thomas Broyer wrote:
 
Thanks, but the "big picture" is still intransparent to me:
 
Have you followed the link at the bottom of the answer?http://blog.ltgt.net/how-does-gwts-super-dev-mode-work/

No, thank you. I have not seen such a detailed explanation of SDM yet.

However, it's a long text with many interesting explanations, but it's missing a clear instruction: Simply what to do - where to click or whatever - to run your application during development.

I guessed what to do from the following sentence:

For now, you have to run your app in an HTTP server of your choice (Dev Mode is OK for the job), 

"Dev Mode is OK for the job". This told me that I could call "Run as Web Application" within eclipse. After this eclipse shows me an URL like this:

http://127.0.0.1:8888/index.html?gwt.codesvr=127.0.0.1:9997

And this would produce the error message shown in my initial posting:
  
"Sorry, the GWT Developer Plugin no longer works with Chrome on Linux"

It's your comment that solved this:

In your case, I'd say: just keep using "run as web application", but just don't include the ?gwt.codesvr= in the URL to avoid triggering (classic) DevMode.

So I cut off this part in the URL and I at least got my application running again. This is a small success for me. I wonder why this is not clearly mentioned in all of those tutorials....
 
<snarky tone>How can you develop without knowing anything about your IDE?</snarky tone>

This may be off-topic, but developing means dealing with algorithms and data structures. From my previous point of view, the "IDE" plays a very minor role within the development process. But this seems to be different here and I am actually learning about it.
 
(that was the first result when I googled for "eclipse create run configuration")

For the moment, I am just happy to get my app running with the URL above:

http://127.0.0.1:8888/index.html

I cannot see why I need a run configuration. I can run my app, but I still don't know how to set breakpoints and do step-by-step debugging. But I can launch my app, because of your useful hint to not include "?gwt.codesvr" in my URL. This is missing in all of the turorials.

Thanks
Magnus

--
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