Monday, November 1, 2010

Re: 2.1 linker changes

On 1 nov, 05:28, Shawn Brown <big.coffee.lo...@gmail.com> wrote:
> Should appName.nocache.js be one of the Artifacts obtained via
> artifacts.find(EmittedArtifact.class)?

I think so (haven't verified, but reading the code doesn't make me
think it'd work differently)

> In 2.04 it was emitted in the link method but in 2.1 it isn't!!!!

Yes it is, but the SelectionScriptLinker now supports
"shardability" (and all built-in linkers are shardable), so the linker
is called once per permutation and then a last time after all
permutations have been compiled; and the selection script is only
emitted during that last call.
(it's not the same link method, but it's still done in the link
method)

> Is this by design?  If so, what is the design?!?

Have a look at the javadoc for Linker in 2.1, it describes the new
design with shardable linkers:
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/core/ext/Linker.html

--
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.

No comments:

Post a Comment