当我在Eclipse中将PlayN核心代码编译为HTML时,我在哪里可以找到JS / HTML文件? [英] When I compile PlayN core code to HTML in Eclipse, where do I find the JS/HTML files?
问题描述
这是我按照文件列出的路径找到的文档树。
我想将这些文件上传到公开托管的网站。 Eclipse输出:
/ home /.../ playndev / html / target / playndev-html-0.0.1-SNAPSHOT / playndev
├──clear.cache.gif
├──F23CD74BBFAF29D08D2B82AA57A90407.cache.html
├──gwt-voices.swf
├──hosted.html
├──images
│└──bg.png
└──playndev.nocache.js
我希望能够将根目录 playndev
目录移动到另一个公共服务器文件夹并独立运行我的脚本,但是当我将它们移动时到我的机器上 / var / www / playndev
,既不是 F23CD ... cache.html
文件或 hosted.html
加载。
我是否误解了文档布局或更基本的东西?
有只要Host页面具有nocache.js文件的适当位置,您可以在Host页面的脚本标记中验证该文件,但在更改GWT生成文件的位置时不会有任何问题。请参阅此链接了解更多 info
I'd like to take the files and upload them to a publicly hosted site.
This is the document tree I find when I follow the path listed in the Eclipse output:
/home/.../playndev/html/target/playndev-html-0.0.1-SNAPSHOT/playndev
├── clear.cache.gif
├── F23CD74BBFAF29D08D2B82AA57A90407.cache.html
├── gwt-voices.swf
├── hosted.html
├── images
│ └── bg.png
└── playndev.nocache.js
I would expect to be able to move the root playndev
directory to another public server folder and run my script independently, but when I move them for instance to /var/www/playndev
on my machine, neither the F23CD...cache.html
file or hosted.html
loads.
Am I misunderstanding the document layout or something more fundamental?
There should not be any problem in changing the location of GWT generated files as long as the Host page has proper location for nocache.js file which you can verify in the script tag of your Host page. Refer to this link for more info
这篇关于当我在Eclipse中将PlayN核心代码编译为HTML时,我在哪里可以找到JS / HTML文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!