• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

steinsag/gwt-maven-example: A working example combining a multi-project maven bu ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

steinsag/gwt-maven-example

开源软件地址(OpenSource Url):

https://github.com/steinsag/gwt-maven-example

开源编程语言(OpenSource Language):

Java 95.8%

开源软件介绍(OpenSource Introduction):

GWT Maven Example

Overview

Finally, a working example combining a multi-project maven build together with GWT 2.

This example is based on the GWT webapp created by the Maven GWT Plugin archetype.

I created this example as I was unable to find any working example on the net. The example doesn't just compile via Maven, but I was also able to run it in IntelliJ IDEA 11.1 Ultimate.

Running via Maven in GWT Dev Mode

In order to run the example via Maven in GWT Dev Mode, you need to do:

  1. Start the web application in Tomcat 7 via Maven
  2. Start GWT Dev Mode via Maven
  3. Run the application in your browser

To accomplish the first point, issue the following Maven command on a shell:

mvn clean install
mvn tomcat7:run-war-only

Your application is now deployed at http://127.0.0.1:8082/parent/.

Now, you need to start GWT Dev Mode. Open a second shell and execute:

mvn gwt:run -pl web

On success, the GWT Dev Mode window opens. Click Launch Default Browser to open it in GWT Dev Mode.

You can now make changes to your client Java code. Changes become immediately available as soon as you reloaded your page in the browser.

Feedback

Feedback is very welcome! You can reach me via:

License

Public Domain




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
ElBell/Maven.GenericArrayUtility发布时间:2022-08-17
下一篇:
apache/maven-doxia-sitetools: Apache Maven Doxia Sitetools发布时间:2022-08-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap