Is this GWT library exported as JS only? ...
So I don't get it. What am I missing?
The library exists as GWT library (*.jar file with *.gwt.xml) so you can use it right away in your GWT app, but the library is also exported by the library maintainer to JavaScript so that JavaScript people can also use it right away by including a *.js file.
In that case your app does not want to use -generateJsInteropExports because it directly uses the GWT library which has @JsType(isNative = false) all over the place in its Java files. If you would use -generateJsInteropExport in your app, it would have a negative impact on your code size because these @JsType classes would not be optimized/pruned then. Now imagine you have several of such libraries in your app.
-- J.
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment