How to create gwt gae with application module modules using google eclipse plugin

How to create a new GWT and GAE project using modules using the google eclipse plugin in Java? I tried to use new web applications from eclipse, but just created a GWT and GAE project for me without modules.

Thanks.

+6
source share
3 answers

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

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

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

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

Please note that when you right-click on your project there will be two elements related to Google: Google and Google App Engine WTP. Commands related to the application engine in the Google menu do not seem to work. Instead, use the commands associated with the application engine in the Google App Engine WTP menu.

+3
source

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

There is a workaround:

GWT Compile and copy / war / output into a standard dynamic web project.

I checked this workaround and it works. Just copy the "war" directory of the Google Web Applications project to the web content directory (default: "WebContent") in the dynamic web project.

For the local AppEngine application server for Dynamic Web Projects and EAR projects, it is important that the 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: C: \ Program .

+1
source

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

Check each option to create a project with sample code.

  • Use Google Web Toolkit
  • Google App Engine User
  • Sample code . It creates sample code with a module as you expect.
0
source

All Articles