Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 GWT 中,我创建了两个不同的项目,编译后一个是创建 *.cache.html 另一个是创建 *.cache.js 。请协助它发生的原因以及在哪里配置这些东西。
在您的*.gwt.xml文件中,您可以添加一个链接器。 标准链接器是xsiframe,它生成一个*.cache.js文件。 链接器std生成*.cache.html文件。 通过编辑文件中的值来更改name它*gwt.xml:
*.gwt.xml
xsiframe
*.cache.js
std
*.cache.html
name
*gwt.xml
<add-linker name="xsiframe" />