Reviewers: drfibonacci, Description: Document a bug in maven-gae-plugin that prevents gae:unpack goal in mobilewebapp from running if gae.home is set in ~/.m2/settings.xml
Please review this at http://gwt-code-reviews.appspot.com/1607803/ Affected files: M samples/mobilewebapp/README-MAVEN.txt Index: samples/mobilewebapp/README-MAVEN.txt =================================================================== --- samples/mobilewebapp/README-MAVEN.txt (revision 10779) +++ samples/mobilewebapp/README-MAVEN.txt (working copy) @@ -13,7 +13,8 @@ You can now browse the project in Eclipse. -To launch your web app in GWT development mode +To launch your web app in GWT development mode (see note below if you +have gae.home set in settings.xml): Go to the Run menu item and select Run -> Run as -> Web Application. @@ -47,7 +48,7 @@ 1.6 JDK. Maven uses the supplied 'pom.xml' file which describes exactly how to build your project. This file has been tested to work against Maven 2.2.1. The following assumes 'mvn' is on your command -line path. +line path. Also, see note below if you have gae.home set in settings.xml. To run development mode use the Maven GWT Plugin. @@ -57,3 +58,17 @@ For a full listing of other goals, visit: http://mojo.codehaus.org/gwt-maven-plugin/plugin-info.html + +-- Important Note: + +The first time you get a new App Engine version from Maven +Central, you must unpack it into your local repo with +mvn gae:unpack. The mobilewebapp POM should do this automatically as it +includes the gae:unpack goal; however, if you have gae.home set in +your settings.xml, it won't work properly so you must run mvn +gae:unpack manually first. + +For more info, see this bug report for maven-gae-plugin: + +https://github.com/maven-gae-plugin/maven-gae-plugin/issues/8 + -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
