Friday, July 8, 2016

Maven Plugin for GWT - Access Dev Mode Remotely

I need to be able to hit my dev mode machine remotely. I'm using the Maven Plugin for GWT (tbroyer version). The standard commands don't let you hit the remote machine at all.

If I add -Dgwt.bindAddress=0.0.0.0 to the code server command:

call mvn gwt:codeserver -pl client -am -Dgwt.bindAddress=0.0.0.0

I can hit it remotely, but I get a dialog that says "Can't find code server. Please make sure it's ready". I don't know what to do to get past that.
On the same machine, that just means the browser is blocking insecure content. Clicking the shield in the address bar (left in FF, right in Chrome) let's you disable this.
I did this on the remote machine, but it still fails to load.

Any help would be great. For reference, I'm starting tomcat like this:

call mvn tomcat7:run -pl server -am -Denv=dev

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment