Tuesday, February 4, 2014

Re: Using GWT SuperDevMode in application containing many modules

As you already have a large number of modules you are already in a good spot. Having more (smaller) modules helps the upcoming incremental compile of GWT to improve SDM performance.

But for the time being it is best to make additional GWT modules that have a new EntryPoint which only starts a subset of your application, e.g.

App.gwt.xml: launches everything
Module1.gwt.xml: has no entrypoint, inherited by App and Module1-Dev
Module1-Dev.gwt.xml: inherits Module1 and provides a new EntryPoint that only launches that Module1

In Module1-Dev.gwt.xml you would rename it to the same name of your App.gwt.xml so that you do not have to create additional html pages, e.g.

App.gwt.xml: <module rename-to="app">
Module1-Dev.gwt.xml: <module rename-to="app">

index.html: <script src="app/app.nocache.js"/>


Hope that helps.


-- J.

--
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/groups/opt_out.

No comments:

Post a Comment