开发者

GWT Compilation

When we compile a gwt application, t开发者_如何学Pythonhe compiler do some permutation

Compiling 6 permutations Compiling permutation 0... Compiling permutation 1... Compiling permutation 2... Compiling permutation 3... Compiling permutation 4... Compiling permutation 5...

I am not getting this what is this six permutation ?


Look at these links that explain how gwt compilation works Distributed GWT compilation 1 and Distributed GWT Compilation – 2

produces an abstract syntax tree containing all the information needed to produce the JavaScript for all the various permutations of, for example, browser and language. Next is CompilePerms, which is done for each different permutation and produces the JavaScript for that permutation


Most likely your six permutations are coming from the fact that GWT compiles a permutation for each browser ("user agent").

The number of permutations can increase if you add other deferred binding rules, including internationalization, or can be reduced if you only plan on supporting some browsers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜