I extended IFrameLinker to return ".cache.htm" in getCompilationExtension. GWT compiler generates all js files ending with "cache.htm" as expected. But nocache.js still has "cache.html" in one place such as "$intern_62 = '.cache.html'". It work fine after I change "cache.html" to "cache.htm" in nocache.js file. I can not find any files containing "cache.html" in gwt-user.jar and gwt-dev.jar. Any help will be appreciated.
On Thursday, September 6, 2012 11:56:23 AM UTC-4, Chris Lercher wrote: > > I assume it should be possible by extending IFrameLinker, and overriding > getCompilationExtension(...) to return ".cache.htm". Then define and add > your linker as in /com/google/gwt/core/Core.gwt.xml > > I haven't tried it though, so you may encounter some difficulties (?) > > > On Wednesday, September 5, 2012 4:59:05 PM UTC+2, James wrote: >> >> Is there a possible way to pass some parameter to compiler so the >> compiler can generate javascript file ending with *.htm instead of *.html? >> So far I just manually edit the generated javascript files and change the >> file extension. >> >> Thanks, >> >> James >> > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/YfNtZ8qpyT8J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
