I want to put Javascript files generated by GWT compiler into a different web server. I also want to have one Javascript file for one device such as android.cache.js for Android, ios.cache.js for IPhone. When these generated Javascript is required, "<script src="android.cache.js" /> is used for Android device. I run into this issue. My GWT code is ready. My boss ask me to finish it this week. I follow your advices to finish the following task. I really appreciate it if you can give me some code and advice.
After I changed linker to sso from xsiframe, I got the following error:
Compiling 3 permutations
Compiling permutation 0...
Process output
Compiling
Compiling permutation 2...
Process output
Compiling
Compiling permutation 1...
Compile of permutations succeeded
Compilation succeeded -- 30.293s
Linking into H:\eclipse-svn-workspace\com.am.shipei.hvscloud\WebContent\gwt
Invoking Linker Single Script
[ERROR] The module must have exactly one distinct permutation when using the Single Script Linker; found 3
On Wednesday, September 9, 2015 at 1:52:42 PM UTC+8, Cristiano wrote:
-- After I changed linker to sso from xsiframe, I got the following error:
Compiling 3 permutations
Compiling permutation 0...
Process output
Compiling
Compiling permutation 2...
Process output
Compiling
Compiling permutation 1...
Compile of permutations succeeded
Compilation succeeded -- 30.293s
Linking into H:\eclipse-svn-workspace\com.am.shipei.hvscloud\WebContent\gwt
Invoking Linker Single Script
[ERROR] The module must have exactly one distinct permutation when using the Single Script Linker; found 3
On Wednesday, September 9, 2015 at 1:52:42 PM UTC+8, Cristiano wrote:
Could you explain better what you do mean for "not using .nocache.js" ?What do you want to do?Maybe you want to include directly the "#####.cache.js" file for the permutation you want to use? If it is so, for which reasonOr maybe you don't want to use the GWT app loading mechanism based on iframes, and you want to load it as a regular JavaScript file?CristianoIl giorno mer 9 set 2015 alle ore 04:42 David <leeo...@gmail.com> ha scritto:If I don't want to use .nocache.js and I do want to use cache.js in loading page, what is the solution?--Thanks,David
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-we...@googlegroups.com .
Visit this group at http://groups.google.com/group/google-web-toolkit .
For more options, visit https://groups.google.com/d/optout .
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment