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

3 comments
Comment actions Permalink

Which build of IDEA are you using? The problem should be fixed in the IDEA 8.1 EAP builds.

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 emulatio
n library.

Any chance this could get resolved?

Thanks,
Brice

---
Original message URL: http://www.jetbrains.net/devnet/message/5230786#5230786



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

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!



0
Comment actions Permalink

This is the known issue (see http://jetbrains.net/jira/browse/IDEADEV-22651).

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 optional
ly ... 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!




---
Original message URL: http://www.jetbrains.net/devnet/message/5231141#5231141



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.