Sunday, July 6, 2014

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



On Sunday, July 6, 2014 4:25:41 PM UTC+2, Magnus wrote:


On Sunday, July 6, 2014 12:53:41 AM UTC+2, Jens wrote:
https://stackoverflow.com/a/18333050/116472

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/
 

  • compile and deploy your app to a web server near you
    What does this mean? I have a local machine, where I am developing, and a remote server. I am used to test on my local machine.
    Before SuperDevMode this was done by pointing to an eclipse menu entry: "run as web application".
    How should this be done now? Do you really have to "deploy" it, e. g. upload it with tomcat's manager application?

You can use "run as web application", or you can use Webby or Eclipse WTP to deploy it in a configured server (Tomcat or whatever), or you can package a WAR and deploy it to any server (Tomcat or whatever) you want. You could even deploy it to AppEngine or Heroku if you liked. It doesn't really matter: it's server-side code so GWT doesn't care.

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.
  • Launch com.google.gwt.dev.codeserver.CodeServer with the same classpath that you'd launch DevMode with
    What does this mean? How can I "launch" this class? Do I have to create a Run Configuration in eclipse or something like that?
<snarky tone>How can you develop without knowing anything about your IDE?</snarky tone>
Maybe start here: http://help.eclipse.org/juno/topic/org.eclipse.jdt.doc.user/tasks/tasks-java-local-configuration.htm?cp=1_3_6_3
(that was the first result when I googled for "eclipse create run configuration")
  • If you never ran Super Dev Mode, go to http://localhost:9876
    What's this? Which application is running and listening there?

The CodeServer you just launched at the previous step.

I believe that I am missing some additional knowledge to get SuperDevMode running with tutorials like this. I have tried it several times, without success. Please give some additional hints.

And what about the classical DevMode? Will it be unsupported by now and is this the reason why chrome fails to install the plugin?

Yes. Browsers have been removing the APIs and features that made DevMode possible. SuperDevMode also works in all browsers (except very old ones without localStorage support), including mobile ones.
 

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