如何从https://github.com/ArcBees/GWTP-Samples部署gwtp示例

时间:2017-04-25 17:09:23

标签: tomcat gwt gwtp

我从https://github.com/ArcBees/GWTP-Samples下载了样本,并通过Run As>运行gwtp-sample-basic应用程序。使用Maven目标的Maven构建清理gwt:run。它打开了超级开发模式控制台,我可以从中“在默认浏览器中打开”应用程序。现在我想将应用程序部署到Tomcat 8服务器。我怎么能这样做?

1 个答案:

答案 0 :(得分:1)

mvn clean package?认真。在您有兴趣部署到Tomcat的每个项目中运行它以生成war文件 - 见下文。

~/GWTP-Samples> find . -name *.war
./gwtp-samples/gwtp-sample-mobile/target/gwtp-sample-mobile-2.0-SNAPSHOT.war
./gwtp-samples/gwtp-sample-basic/target/gwtp-sample-basic-2.0-SNAPSHOT.war
./gwtp-samples/gwtp-sample-basic-spring/target/gwtp-sample-basic-spring-2.0-SNAPSHOT.war
./gwtp-samples/gwtp-sample-crawler-service/target/gwtp-sample-crawler-service-2.0-SNAPSHOT.war
./gwtp-samples/gwtp-sample-nested/target/gwtp-sample-nested-2.0-SNAPSHOT.war
./carstore/target/carstore-1.6-SNAPSHOT.war
./multimodule/aggregate/target/aggregate-2.0-SNAPSHOT.war