Pregunta

My goal is to develop Java applications that use the new Google Modules. I’d like to use the Google Plugin for Eclipse because it’s simple to debug and upload to Google.

The problem is I can’t tell if it’s possible to use the Google Plugin for Eclipse for Java applications that use Google Modules.

According to this comment it’s possible to use Google Modules with the Eclipse Web Tools Platform with Google App Engine. And according to this documentation, Eclipse Web Tools Platform with Google App Engine is a component included in Google Plugin for Eclipse. But does that mean it’s possible to use the Google Plugin for Eclipse for Java applications that use Google Modules?

¿Fue útil?

Solución

Yeah, it's exactly what that comment says.

When you create a new Dynamic Web Project, make sure you select "Add project to an EAR" and select an existing EAR project or create a new one:

Dynamic Web Project dialog

Essentially, you'll have a separate Dynamic Web Project for each module and EAR project is the container for all those modules.

Now, when you want to run your whole "modularized" app, right click on the EAR project and select Run As => Run on Server.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top