Thursday, August 28, 2014

Re: SuperDevMode and Tomcat

Tim,

You might find the Tomcat Maven Plugin quite useful along with the Maven GWT Plugin. I don't know why you need to launch from Eclipse, but you might find the command line just as useful. I've known people that live by Eclipse to launch TC because of the configs they've saved to Eclipse, but you can pass those into the plugin as well, and then have them conveniently saved to a POM and versioned.

I find, once you've setup SDM in your X.gwt.xml, that these two lines are all you need.

1) Terminal one: mvn tomcat7:run-war
2) Terminal two: mvn gwt:run-codeserver

That's it! When I make backend updates (i.e. new service), I just cycle tomcat, but leave the code server. It's really pretty painless and makes you IDE agnostic.

Joe

Hope that helps,
Joe

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