简体   繁体   English

谷歌应用引擎:maven或eclipse谷歌插件

[英]Google app engine: maven or eclipse google plugin

I'm new to Google App Engine. 我是Google App Engine的新用户。 To use Java App Engine, there are two options provided by Google: create a Maven project, or non-maven project backed by Eclipse Google Plugin. 要使用Java App Engine,Google提供了两个选项:创建Maven项目或Eclipse Google插件支持的非maven项目。 According to the doc, Eclipse version is easier. 根据该文档,Eclipse版本更容易。 So should I go ahead with Eclipse? 我应该继续使用Eclipse吗? But I have seen lots of posts about maven. 但我看过很多关于maven的帖子。 Could anyone comment what the pro/cons of using Maven are. 任何人都可以评论使用Maven的利弊是什么。

Thanks 谢谢

Although you might want to try our first with the Eclipse plugin, Maven is the way to go in the long run because : 虽然您可能想尝试使用Eclipse插件,Maven是长期运行的方式,因为:

  • It is designed to enable collaboration between developers, ensuring everyone uses the same libraries and the same build process 它旨在实现开发人员之间的协作,确保每个人都使用相同的库和相同的构建过程

  • It works with any serious Java IDEA, not only Eclipse. 它适用于任何严肃的Java IDEA,而不仅仅是Eclipse。 If you or the people you work with use IntelliJ, Netbeans or anything else Maven will help harmonize everything 如果您或与您合作的人使用IntelliJ,Netbeans或其他任何Maven将有助于协调一切

  • It allows you to do Continuous Integration . 它允许您进行持续集成 Especially since now this comes bundled with App Engine via push-to-deploy . 特别是从现在开始,它通过推送部署与App Engine捆绑在一起 Push-to-deploy is great because it allows you to do debugging in production from the admin console. 推送部署非常棒,因为它允许您从管理控制台进行生产调试。 But you need to use Maven for it to work. 但是你需要使用Maven才能工作。

In conclusion, use the Eclipse plugin for your first quick-and-dirty tutorial or test project. 总之,使用Eclipse插件进行第一个快速简洁的教程或测试项目。 But then learn Maven to make a real project. 但后来学习Maven做一个真正的项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM