Hi, >> In 2.04 appName.nocache.js 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. OK Thanks! I had to: 1) annotate my link class with @Shardable 2) use the link(TreeLogger, LinkerContext, ArtifactSet, boolean) method-- [in 2.04 I used the link method without a boolean parameter] Example: package com.google.gwt.sample.hello.server; import com.allen_sauer.gwt.log.client.Log; import com.google.gwt.core.ext.LinkerContext; import com.google.gwt.core.ext.TreeLogger; import com.google.gwt.core.ext.UnableToCompleteException; import com.google.gwt.core.ext.linker.AbstractLinker; import com.google.gwt.core.ext.linker.ArtifactSet; import com.google.gwt.core.ext.linker.EmittedArtifact; import com.google.gwt.core.ext.linker.LinkerOrder; import com.google.gwt.core.ext.linker.Shardable; @Shardable @LinkerOrder(LinkerOrder.Order.POST) public class TestLinker extends AbstractLinker { @Override public String getDescription() { // TODO Auto-generated method stub return "testLinker"; } @Override public ArtifactSet link(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean test) throws UnableToCompleteException { Log.info("link"); Log.info("is Shardable: "+isShardable()); for (EmittedArtifact artifact : artifacts.find(EmittedArtifact.class)) { Log.info("emitted artifacts info: "+artifact.getPartialPath()); } return artifacts; } } -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.