why does changing “module -> rename to” attribute in .gwt.xml file give error

末鹿安然 提交于 2019-12-05 21:50:15

If you change the rename-to, it'll change the name of the output files, so you have to update your <script> tag in your HTML host page (from src="testhistory/testhistory.nocache.js" to src="historytokentest/historytokentest.nocache.js"). You don't have to change anything else.

Everything can be changed. There will not be any problem if you change the project.

If you want to change/rename your entry point make sure that you are doing it at [modulename].gwt.xml also. Mostly few smarter IDE's will take care of this once you do rename.

Same way for module name changing you have to change it in host page. Nothing extra than that.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!