Thursday, February 28, 2013

Re: GWT dev mode and GIN and dependency injection in general

On Thursday, February 28, 2013 11:21:48 PM UTC+1, alucard wrote:

On Thursday, February 28, 2013 6:43:11 PM UTC+1, Marc wrote:

I just experimented somewhat with Gin and realized that it (v2.0) seems to break the incremental compilation feature of GWT's development mode, ie. where I just have to save the .java source file and the gwt dev mode server automatically incorporates the changes.

Can someone confirm this or is it my own fault?
I believe you're right. If you "mess" with DI stuff (for example add a new parameter to a constructor annotated with @Inject) the code will break when you reload. You have to rebuild the project at that point. I believe this is due to gin using generators which are not triggered on reload.  

While this was true in previous versions, I believe it no longer is starting with GIN 2.0.

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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment