GWT support, error when using non-JRE classes
Good evening,
I am working on a GWT project and I have started using google-gin, Guice support for GWT. This support allows for Guice annotations (amongst other things) in GWT client classes. Intellij doesn't appear to like this and shows errors in my code because the Guice classes aren't part of the JRE emulation library.
Any chance this could get resolved?
Thanks,
Brice
请先登录再写评论。
Which build of IDEA are you using? The problem should be fixed in the IDEA 8.1 EAP builds.
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Indeed, it is fixed in the latest 8.1 EAP. I see another GWT related issue that doesn't seem to be fixed in 8.1, though (present in 8.0.x as well as the EAP). When using modules from GWT-widgets (add-on), some widgets have styles (from .CSS apparently stored in the .JAR) that can be applied optionally ... when applying these, I get big red error indicator from IDEA indicating that the style class doesn't exist.
e.g.:
progressBar.addStyleName("progressbar-solid");
progressBar.addStyleName("progressbar-noborder");
Any chance that IDEA could read the .CSS in these .JARs?
Thanks!
This is the known issue (see http://jetbrains.net/jira/browse/IDEADEV-22651).
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"