Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Linker modification to <module>.nocache.js artifact doesn't work in GWT 2.7.0 SDM #9149

gwtuser opened this issue Jun 29, 2015 · 0 comments


Copy link

@gwtuser gwtuser commented Jun 29, 2015

If you use the Ecilpse Plugin/SDM Server in GWT 2.7.0, the .nocache.js file loaded by the project's main HTML page isn't the same file as that available to and potentially modified by any customer linkers present in the project. The "real" .nocache.js file is ultimately loaded, but only much later, after the main HTML page has already finished loading. Thus, if you modify the .nocache.js file to synchronously load other script files that are needed by scripts on the main HTML page located after the .nocache.js script tag, the dependent scripts will fail.

Without modifying the project's HTML, the only workaround at the moment is to directly run the CodeServer via bookmarklets, as was (I believe) the recommended standard approach in GWT 2.6.x. One simple solution would be to provide the capability to a project of modifying the "fake" .nocache.js artifact in the same way that a custom linker can modify the real one.

(Refiled to avoid multiple distracting "edit logs".)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.