On Friday, July 8, 2016 at 8:41:13 PM UTC+2, N Troncoso wrote:
I'm using the net.ltgt.gwt.maven.gwt-maven-plugin. I didn't know the bindAddress was strickly for the mojo plugin. From what I can tell it's a fairly common parameter for opening something to a network.
What you ultimately want is passing -bindAddress to GWT's CodeServer; and there's no "automatic" way with the net.ltgt.gwt.maven:gwt-maven-plugin, it has to be explicit.
FWIW, the doc is here: https://tbroyer.github.io/gwt-maven-plugin/codeserver-mojo.html
I'm not sure what config you're asking about, but this is how the plugin is setup in the pom file:<plugin><groupId>net.ltgt.gwt.maven</groupId> <artifactId>gwt-maven-plugin</artifactId> <configuration><moduleName>path.to.Home</moduleName> <moduleShortName>Home</moduleShortName>
Add
<codeserverArgs>
<arg>-bindAddress</arg><arg>0.0.0.0</arg>
</codeserverArgs>
(replace 0.0.0.0 with a Maven property –defined in your POM's <properties>, and overridable using -D on the command-line– if you want)
That said, SuperDevMode does not support HTTPS currently: https://github.com/gwtproject/gwt/issues/7535
Bypassing browser security might work partially, but nothing's guaranteed.
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