Hey Jens,
On Monday, July 21, 2014 4:34:54 AM UTC-4, Jens wrote:
-- Thank you so much for your help. It's quite frustrating learning a new IDE and without people like you I think I'd just QUIT PROGRAMMING all together!
Thanks for the tips on the inspection weirdness. For anyone else that has this inspection hiccup, you can disable it by going to File > Settings > Inspections then open the Google Web Toolkit set and this uncheck "Classes not from JRE Emulation in Client Code." Boom problem solved.
As for the speed issue, I think it might be related to the provideCompile issue.To make the issue happen, I comment out the deps in the \actualApplication build.gradle, then I:
1. in shell, \actualApplication\gradle clean
2. in Intelli-J, go to Gradle Tasks, sync
3. in Intelli-J, go to Build> Make Project
Then, I get the errors in the Messages Make window... a bunch of class file not found, etc.
If I leave the deps in the \actualApplication and repeat the process above, it works as expected; however, the two references show up in the debugger when I stumble upon an exception. If I click something in a gxt.* or gwt.* package, it pops up a window with paths to two separate libs (in the gradle cache). This would indicate that it might be pulling two copies of those JARs in, and I can't imagine that's good for performance either.
I can perform all the gradle GWT tasks as expected from shell with only the library project having the dependency.
Is there something that I need to set in Intelli-J for these specifically? When I look at the Module Settings, the dependencies are there in the \library_application (Provided) project, and the library_application project is indicated as a dependency in the \actualApplication project.
Thanks for any advice!
E
On Monday, July 21, 2014 4:34:54 AM UTC-4, Jens wrote:
Am Montag, 21. Juli 2014 00:00:09 UTC+2 schrieb Evan Ruff:Oh, also, I have one other weird issue.I have the follow deps in \library_application:providedCompile 'com.sencha.gxt:gxt:3.1.0'providedCompile 'com.google.gwt:gwt-dev:2.6.1'providedCompile 'com.google.gwt:gwt-user:2.6.1' When I look at the setup and everything for \actualApplication the libraries are in there as expected with the type "provided". When I go to make the project, Intelli-J acts like it can't find those libraries at all, giving me all sorts of weirdness with class file not found for anything referenced in those libs.If "make" does not work, then your module dependencies are not correctly set for IntelliJ modules. Maybe anything in providedCompile is not detected during IntelliJ import?If I add them to the deps in \actualApplication, then it "makes" as expected; however, I get two references to the classes when debugging which is quite annoying.Why do you get two references? Where do they come from?-- J.
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