How to deploy a GWT project containing GWT modules without entry points with the Eclipse GAE plugin?

I have a GWT project containing some GWT modules that I would like to have a NO entry point, functioning as libraries for other modules with entry points.

GWT entry point modules are compiled with the GWT Compile Project parameter in Eclipse if I don't want to compile GWT library modules with them. They also work great.

When I decide to deploy my project to Google App Engine using the "Deploy App Engine Project" option, all modules will be compiled, and this process will get stuck in the library modules, since they do not have a specific entry point.

Is there any way around this? I have now “fixed” it by adding the Dummy.java file to libraries that implement EntryPoint and have an empty onModuleLoad in them.

+4
source share
1 answer

You can tell GWT which modules have an entry point. Right-click the icon for the project, choose Google> Web Toolkit Settings ..., and remove your library module from the Entry Point Modules list.

This change is permanent and will affect all of your compilation activities, including deployment to GAE. The options you select from the "GWT Compile Project" are temporary and are saved only for compilation.

This should mean the “deploy application project” action to stop trying to compile your library modules.

+3
source

All Articles