Hello,
compiling a GWT module causes the last-modified date of the "*.nocache.js"
file is set to the last-modified date of the "*.gwt.xml" file.
If using eclipse with tomcat you are running in problems. All files -
except the nocache.js - are copied to tomcat working directory. The
nocache.hs file is not copied, because its last-modified timestamp is not
updated.
Problem exists in GWT 2.7.0 running on OSX 10.10. Current workaround is to
overwrite the "emitSelectionScript" in a custom linker:
@Override
protected EmittedArtifact emitSelectionScript(TreeLogger logger,
LinkerContext context, ArtifactSet artifacts) throws
UnableToCompleteException {
String ss = generateSelectionScript(logger, context, artifacts);
return emitString(logger, ss, context.getModuleName() + ".nocache.js");
}
Because this was working in GWT 2.6.0 we think it is a bug in GWT 2.7.0.
Thanks
Christian
--
You received this message because you are subscribed to the Google Groups "GWT
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-web-toolkit-contributors/5f62e34b-6260-45b9-8ced-f9e1897cf353%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.