Multi-Modules App Engine Application

I am starting a new App Engine Application which contains multiple modules. As I read in the documentation, I need an EAR project which contains one or more WAR files. See https://developers.google.com/appengine/docs/java/modules/

My setup looks like this:

MyProject
-- ear (ear module)
---- META-INF
------ appengine-application.xml
------ application.xml
-- foo (war module)
---- web
------ index.jsp
------ WEB-INF
-------- appengine-web.xml
-------- web.xml
-- bar (war module)
---- web
------ index.jsp
------ WEB-INF
-------- appengine-web.xml
-------- web.xml

When I try to configure a Google AppEngine Dev Server run configuration, I don't see the EAR artifact in the "Web Artifact to deploy" dropdown list. Is there some way to do so? With the same layout, I was able to successfuly run the EAR on the AppEngine Dev Server via a Gradle task and also in Eclipse via the Google App Engine plugin.

Please sign in to leave a comment.