Hi,
A user of a framework I'm maintaining (gwt-view) reported a weird bug with one of the code generators, when using the super dev mode with incremental compile: when he updates an interface, used by the generator to generate the output code, the modified version is not updated, and the generator generates a wrong output.
Basically, imagine this interface:
... and then he updates it, inserting a new method:
... the interface used by the code generator to create new classes is the old one (without the getNotFoundView method). The PresenterGenerator of gwt-views doesn't see the new method and can't produce the presenter for the new View. Restarting the code server solves the problem, but it is quite annoying.
Do you have any idea of what is going on here?
The full bug report is available at: https://github.com/gilberto-torrezan/gwt-views/issues/3
Thanks in advance.
-- A user of a framework I'm maintaining (gwt-view) reported a weird bug with one of the code generators, when using the super dev mode with incremental compile: when he updates an interface, used by the generator to generate the output code, the modified version is not updated, and the generator generates a wrong output.
Basically, imagine this interface:
@GinModules(BackOfficeModule.class) public interface BackOfficeInjector extends Ginjector { LoginView getLoginView(); }
... and then he updates it, inserting a new method:
@GinModules(BackOfficeModule.class) public interface BackOfficeInjector extends Ginjector {
NotFoundView getNotFoundView(); LoginView getLoginView(); }
... the interface used by the code generator to create new classes is the old one (without the getNotFoundView method). The PresenterGenerator of gwt-views doesn't see the new method and can't produce the presenter for the new View. Restarting the code server solves the problem, but it is quite annoying.
Do you have any idea of what is going on here?
The full bug report is available at: https://github.com/gilberto-torrezan/gwt-views/issues/3
Thanks in advance.
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