0
目前我正在使用GWT插件在Eclipse中構建它。我想使用從命令行執行GWT編譯的腳本自動化部署到我的開發Web服務器。在PlayN中,如何從命令行構建項目的HTML版本?
我緊跟在Getting Started page的運行通過的Maven節的指導:
mvn -Phtml integration-test
但嘗試構建所有的版本,在Android上構建出犯錯誤(我寧願跳過),並引發一個警告,說明html配置文件不存在:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] MyPlaynGame Metaproject .......................... SUCCESS [0.375s]
[INFO] MyPlaynGame Core ................................. SUCCESS [1.638s]
[INFO] MyPlaynGame Java ................................. SUCCESS [0.319s]
[INFO] MyPlaynGame HTML ................................. SUCCESS [4.019s]
[INFO] MyPlaynGame Android .............................. FAILURE [0.308s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.903s
[INFO] Finished at: Mon Jun 04 22:17:33 PDT 2012
[INFO] Final Memory: 15M/255M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "html" could not be activated because it does not exist.
我該如何才能構建html版本?
正是我在找的東西。謝謝!另一個問題:任何想法如何從編譯中排除我的核心文件夾中的測試文件夾?因爲這個,我得到錯誤,但在Eclipse中編譯時似乎沒有這個問題。 – klenwell
找出如何排除測試並避免錯誤。在這裏發佈問答:http://stackoverflow.com/a/10924299/1093087 – klenwell