You can use hot code replace; either through IntelliJ (see https://www.jetbrains.com/idea/help/reloading-classes.html and https://www.jetbrains.com/idea/help/debugger-hotswap.html) or using tools like JRebel.
On Friday, November 14, 2014 1:38:38 PM UTC+1, Ali Akhtar wrote: > > I have a project at com.foo, with a com.foo.client package, and a > com.foo.rebind package. > > Rebind contains generators which are used in the module.gwt.xml file, e.g: > > <generate-with class="com.foo.BarGenerator"> > <when-type-assignable class="com.foo.Bar" /> > </generate-with> > > The problem is, when I run this through IntelliJ as a normal GWT > configuration, using 2.7.0-RC1, then on reload, while sdm recompiles, it > seems to only recompile the files in com.foo.client, and com.foo.rebind > seems to remain untouched, i.e any changes I make to the generator don't > take effect. > > The same happens even if I update the web server by clicking the update > button. In the end, I have to completely stop the run config, and start a > whole new run config, which then restarts the web server as well as the > codeserver, and takes several mins to complete. The process is quite slow. > > Is there any workaround, so that com.foo.rebind is recompiled & new > generators are made with each sdm recompile? If not, what's my best option? > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
