【问题标题】:How do I deploy gwtp samples from https://github.com/ArcBees/GWTP-Samples如何从 https://github.com/ArcBees/GWTP-Samples 部署 gwtp 示例
【发布时间】:2017-04-26 04:08:35
【问题描述】:

我从 https://github.com/ArcBees/GWTP-Samples 下载了示例,并通过运行方式运行 gwtp-sample-basic 应用程序 > Maven build with Maven targets clean gwt:run。它打开了超级开发模式控制台,我可以从中“在默认浏览器中打开”应用程序。但是,现在我想将应用程序部署到 Tomcat 8 服务器。我该怎么做?

【问题讨论】:

    标签: tomcat gwt gwtp


    【解决方案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
    

    【讨论】:

      猜你喜欢
      • 2014-03-18
      • 1970-01-01
      • 1970-01-01
      • 2015-11-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多