-XcompilePerFile feedback

233 views
Skip to first unread message

Julien Dramaix

unread,
Aug 29, 2014, 5:45:21 PM8/29/14
to google-web-tool...@googlegroups.com
Dear GWT team,

I'm now using the GWT 2.7 snapshot and I'm testing the "per file" compilation and I found one issue.

Consider a UiBinder template using an external ClientBundle containing a GssResource. If you change something on the .gss file and hit the button to recompile the application. The application fails to run with this error:
Uncaught com.google.gwt.event.shared.UmbrellaException: Exception caught: Exception caught: (ReferenceError) : HomePageView_BinderImpl$Widgets_1_g$ is not defined

To reproduce this error, use this small application: https://github.com/jDramaix/gwtpgwt27, change something in the file be/jdramaix/test/client/resources/style.gss and recompile the application.

I found also two others issues, but I was not able to reproduce them with the simple application. I will try to investigate Monday in order to get you an example.

Julien

John Stalcup

unread,
Sep 2, 2014, 8:51:07 PM9/2/14
to google-web-tool...@googlegroups.com
I don't see style.gss in the repo.


--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D63%3D4dAGGLf3M-izC55GmE4Lr7i50FxW408Ye6P5G8JzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Julien Dramaix

unread,
Sep 3, 2014, 4:15:28 AM9/3/14
to google-web-tool...@googlegroups.com
Sorry I had forgot to push my last change. The file is there now.


John Stalcup

unread,
Sep 3, 2014, 10:06:53 PM9/3/14
to google-web-tool...@googlegroups.com

John Stalcup

unread,
Sep 8, 2014, 2:46:27 PM9/8/14
to google-web-tool...@googlegroups.com
You had mentioned that you'd seen two other issues as well but hadn't gotten around to making a repro case.

Are these issues still around? Thanks for the two repro cases you've already supplied. They were very helpful.

John

Julien Dramaix

unread,
Sep 10, 2014, 9:42:03 PM9/10/14
to google-web-tool...@googlegroups.com

Hi John,

I'm currently on holidays and I was not able to reproduce the two others bugs before my departure so I guess they were fixed.

Both concerned generators.  The first one was with restygwt. If you modified the structure of a class sent to the wire and recompiled the application,  the reference to the generated serializer was not found anymore.

The second one concerned GIN. Consider two classes A and B.  A is injectable with Gin and create a instance of the class B with the new operator.  Make the class B injectable and use a Provider to get an instance of the class B in class A instead of using the new operator.  Recompile and you get an error (at least I got an error three weeks ago)

> To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAFw3gJ9xrZ8N5NpJESKyLE1sropX8xrJbmVBLU2r125nZnu_dQ%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages