如何在Eclipse中运行Maven GAE项目? [英] How can I run Maven GAE projects in Eclipse?
问题描述
我正在使用Maven GAE插件(http://www.kindleit.net/maven_gae_plugin/examples/index.html)创建项目,但是我不知道如何在本地开发服务器上运行这些项目.有人可以告诉我在Eclipse中运行我的应用程序该怎么做吗?而且我还想知道如何将我的应用程序部署到GAE.
I'm making project with Maven GAE plugin (http://www.kindleit.net/maven_gae_plugin/examples/index.html), but I didn't understand how I can run these projects on local development server. Can someone tell me what I have to do to run my application in eclipse? And I would also like to know how to deploy my application to GAE.
推荐答案
我自己解决了这个问题.我必须为Maven添加新的运行选项.选择项目,然后右键单击获得菜单,然后选择运行方式"/运行配置"/"Maven"/新建",然后将目标添加到目标行中.然后运行它,服务器应该启动.
I solved this myself. I had to add new run option for Maven. Select project and with right click you get menu and there select Run as / Run configurations / Maven / Create new and then add your goal to line goals. Then run it and server should start.
目标列表:
http://googlewebtoolkit. blogspot.com/2010/08/how-to-use-google-plugin-for-eclipse.html
这篇关于如何在Eclipse中运行Maven GAE项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!