playn-showcase-html 不是 GWT 项目
根据入门 wiki 页面,我安装了 Android 插件的 Indigo;我安装了 Maven Integration for WTP
和 Google
插件(按顺序)。我可以很好地运行 Java 版本的展示;当我尝试 Google
> GWT 编译
showcase-html,Eclipse 告诉我这“不是 GWT 项目”。
我做错了什么?或者这已经坏了?
接下来 7 天的源代码可以在这里找到:http://www.sendspace.com/file/zc2af3< /a>
As per the getting started wiki page, I had Indigo with the Android plugin installed; I installed the Maven Integration for WTP
and Google
plugins (in that order). I can run the Java version of the showcase fine; when I try to Google
> GWT Compile
the showcase-html, Eclipse tells me that this is "not a GWT project."
What am I doing wrong? Or is this broken?
Source can be found here for the next seven days: http://www.sendspace.com/file/zc2af3
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
安装所有这些插件后,Eclipse 应该自动检测 yourgame-html 子项目的 GWT“性质”。它对我和至少其他一些人来说效果很好。
在任何情况下,您只需右键单击该项目,选择“Google -> Web Toolkit 设置...”,然后在弹出的对话框中单击“使用 Google Web Toolkit”。
With all of those plugins installed Eclipse should auto-detect the GWT "nature" of the yourgame-html subproject. It works fine for me and at least a few other people.
In any case, you can simply right click on that project, select "Google -> Web Toolkit Settings..." and click "Use Google Web Toolkit" on the dialog that pops up.
右键单击项目“运行方式 -> 运行配置”。我们至少应该为 Web 应用程序创建一种配置。点击New Configuration,eclipse会自动填写信息(即playn-showcase-html和类信息)。继续并单击“运行”,您应该能够让服务器运行。希望这有帮助。
Right click on the project "Run As -> Run Configurations". We should at-least create one configuration for web application. Click on New Configuration and eclipse will automatically fill the information(ie.playn-showcase-html & the class information ). Go ahead and click on Run and you should be able to get you server to run. Hope this helps.