Friday, November 6, 2009

what should I do with

I want to make the GWT compiled js as one single js so I can delay
loading after the page load
(via a var s = createElement("script"); s.src="my.js";
document.body.appendChild(s); )

Looks like I should use sso linker, so I add the following line to

<add-linker name="sso" />

to the MyModule.gwt.xml file to ask the GWT to compile into only one
js

but now I always get the following error
"
Bookstrap link for command-line module ...
Linking module ...
invoking Liker Single Script
The module must have exactly one distinct permutation when using the
Single Script Linker
"

I assume the "permutation" mean the generated js for one kind of
browser. How can I set the flag in GWT configuration to ask it to only
have only one distinct permutation so this linker will work?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate