how to create gwt gae with app engine modules using google eclipse plugin

寵の児 提交于 2019-12-03 07:42:53

You'll probably want to first create a WTP project using GPE, because to use modules you'll need to create an EAR project. This is described here:

https://developers.google.com/appengine/docs/java/webtoolsplatform

You'll create modules, which will each be a dynamic web project. Your GWT app will be one of those. And follow the instructions for modules here:

https://developers.google.com/appengine/docs/java/modules/

Note that there will be two Google related items when you right-click your project: Google and Google App Engine WTP. Commands related to app engine in the Google menu don't seem to work. Instead use the app engine related commands in the Google App Engine WTP menu.

Phil C

Apparently, it is an open feature request to do this programmatically: https://code.google.com/p/google-web-toolkit/issues/detail?id=3584 and https://code.google.com/p/google-plugin-for-eclipse/issues/detail?id=121

There is a proposed workaround:

GWT Compile and copy the /war/ output into a standard Dynamic Web Project.

I have tested this workaround and it works. Simply copy the Google Web Applications Project's "war" directory into the web content directory (default: "WebContent") of a stub Dynamic Web Project.

For the local AppEngine dev server for Dynamic Web Projects and EAR projects it is important that project names do not contain a space. Moreover, this also applies to the AppEngine agent file path, see Error opening zip file or JAR manifest missing : C:\Program.

How to create a new GWT and GAE project with modules using google eclipse plugin in Java?

Do check in each option to create project with sample code.

  • Use Google Web Toolkit
  • User Google App Engine
  • Sample Code : It creates sample code with module as you expect.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!