可以将Google模块与Google Plugin for Eclipse配合使用吗? [英] Possible to use Google Modules with Google Plugin for Eclipse?

查看:127
本文介绍了可以将Google模块与Google Plugin for Eclipse配合使用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的目标是开发使用新的Google模块的Java应用程序。我想使用Google Plugin for Eclipse,因为调试和上传到Google很简单。



问题是我无法确定是否可以使用Google Plugin for Eclipse for Java应用程序使用Google模块。



根据这个评论,可以使用Google模块与Eclipse Web Tools平台与Google App Engine。根据文档,Eclipse Web Tools Platform与Google App Engine是一个组件在Google Plugin for Eclipse中。但是这是否意味着可以使用Google Plugin for Eclipse来使用Google模块的Java应用程序?

解决方案

是的,当您创建一个新的动态Web项目时,请确保选择将项目添加到EAR并选择一个现有的EAR项目或创建一个新的项目。



一个:





本质上,您将为每个模块分别设置动态Web项目,EAR项目是所有这些模块的容器。



现在,当您要运行整个模块化应用程序时,右键单击EAR项目,然后选择Run As => Run on Server。


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?

解决方案

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:

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.

这篇关于可以将Google模块与Google Plugin for Eclipse配合使用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆