Hello,
I'm trying to run SDM incremental compilation on my project. I've
downloaded the latest available versions of GWT 2.7.0-SNAPSHOT from
https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/
(gwt-user-2.7.0-20140716.063209-23,
gwt-codeserver-2.7.0-20140716.063239-23, gwt-dev-2.7.0-20140716.063152-23)
When SDM incremental compilation is started I'm getting a lot of warning
message related to the size of the modules that I'm inheriting in my app.
Despite of the warning for my modules, I'm getting the same warnings for
GWT modules like
- com.google.gwt.i18n.I18N, com.google.gwt.user.UI,
com.google.web.bindery.requestfactory.RequestFactory.
Here is a little snippet
Compiling module com.google.gwt.i18n.I18N
0.080s -- Parsing and loading module definition
9.898s -- Translating Java to Javascript
[WARN] There were 1084 static source files, 2 generated source
files, 1433 types loaded for generators and 1333 types loaded for AST
construction. This module should probably be split into smaller modules or
should trigger fewer generators since its current size hurts incremental
compiles.
Compiling module com.google.gwt.aria.Aria
0.091s -- Parsing and loading module definition
0.968s -- Translating Java to Javascript
There were 156 static source files, 1 generated source files,
385 types loaded for generators and 293 types loaded for AST construction.
Compiling module com.google.gwt.user.UI
0.102s -- Parsing and loading module definition
Constructing interface
com.google.gwt.cell.client.ImageLoadingCell.Template
Generating method body for img()
Template with variable in URL attribute context: The
template code generator will sanitize the URL. Use SafeUri to specify
arguments in a URL attribute context that should not be sanitized.
Constructing interface
com.google.gwt.cell.client.ImageCell.Template
Generating method body for img()
Template with variable in URL attribute context: The
template code generator will sanitize the URL. Use SafeUri to specify
arguments in a URL attribute context that should not be sanitized.
7.603s -- Translating Java to Javascript
[WARN] There were 598 static source files, 38 generated source
files, 1867 types loaded for generators and 1968 types loaded for AST
construction. This module should probably be split into smaller modules or
should trigger fewer generators since its current size hurts incremental
compiles.
After that, the compilation fails and I can't continue further.
I've decided to try it on a simple project. Again I'm getting warning for
the same GWT modules that need to be split but it compiles.
After that when I launch the app I'm getting the following error - Uncaught
TypeError: Cannot call method 'containsKey__Ljava_lang_Object_2Z' of
undefined
Any suggestions for fixing this will be helpful.
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.