See this thread for an update: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/f166bf388068e0c
-- David Chandler Developer Programs Engineer, GWT On Oct 14, 10:00 pm, superdama <[email protected]> wrote: > I figure out to run gwt:expense sample via mvn command line > =========================================== > 1. checkout > svn checkouthttp://google-web-toolkit.googlecode.com/svn/trunk/ > trunk > svn checkouthttp://google-web-toolkit.googlecode.com/svn/tools/ > tools > > 2. compile gwt > ant buildonly > > 3. under the trunk directory, install gwt-xxx new jar > mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt- > dev -Dversion=2.1-SNAPSHOT -Dpackaging=jar -Dfile=build/lib/gwt- > dev.jar -DgeneratePom=true > mvn install:install-file -DgroupId=com.google.gwt - > DartifactId=gwt-user -Dversion=2.1-SNAPSHOT -Dpackaging=jar - > Dfile=build/lib/gwt-user.jar -DgeneratePom=true > mvn install:install-file -DgroupId=com.google.gwt - > DartifactId=gwt-servlet -Dversion=2.1-SNAPSHOT -Dpackaging=jar - > Dfile=build/lib/gwt-servlet.jar -DgeneratePom=true > > 4.change expenses\pox.xml > gae-version ==> 1.3.7 > reset -javaagent to : > -javaagent:C:\eclipse\plugins > \com.google.appengine.eclipse.sdkbundle. > 1.3.7_1.3.7.v201008311427\appengine-java-sdk-1.3.7\lib\agent\appengine- > agent.jar > *** make sure you point the -javaagent to the right directory, > mine is: C:\eclipse\plugins\com.google.appengine.eclipse.sdkbundle. > 1.3.7_1.3.7.v201008311427\appengine-java-sdk-1.3.7\lib\agent\appengine- > agent.jar > > 5. mvn package > 6. mvn gae:run > =========================================== > > On Sep 28, 4:39 am, hezjing <[email protected]> wrote: > > > I got a little bit further with the following steps: > > > 1. Build the GWT source code: > > > >cd C:\gwt\trunk > > >ant > > > 2. Install the latest GWT JARs into local Maven repository:>mvn > > install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-servlet > > > ^ > > -Dversion=2.1-SNAPSHOT -Dpackaging=jar > > -Dfile=C:\gwt\trunk\build\staging\gwt-0.0.0\gwt-servlet.jar>mvn > > install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-user ^ > > > -Dversion=2.1-SNAPSHOT -Dpackaging=jar > > -Dfile=C:\gwt\trunk\build\staging\gwt-0.0.0\gwt-user.jar > > > 3. Import C:\gwt\trunk\samples\expenses to Eclipse as an existing Maven > > project. > > > Now I'm able to browse the project without any error. > > > How should I run the application from Eclipse? I tried: > > > 1. Project -> Properties -> Google -> App Engine Settings ... > > Check 'Use Google App Engine' > > Use specific SDK: 'C:\Documents and > > Settings\hezjing\.m2\repository\com\google\appengine - unknown version' > > > 2. Project -> Properties -> Google -> Web Toolkit > > Check 'Use Google Web Toolkit' > > Configure and use the SDK at C:\gwt\trunk\build\staging\gwt-0.0.0 > > > 3. Project -> Properties -> Google -> Web Application > > Check 'The project has a WAR directory' > > WAR directory: src/main/webapp > > Uncheck 'Launch and deploy from this directory' > > > With the above steps, I got an error that says: > > The App Engine SDK 'C:\Documents and > > Settings\cpt2t2o\.m2\repository\com\google\appengine' on the project's build > > path is not valid > > > I also failed to run the application from command line using gae:run: > > > C:\gwt\trunk\samples\expenses>mvn gae:run > > [INFO] Scanning for projects... > > [INFO] Searching repository for plugin with prefix: 'gae'. > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD ERROR > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] The plugin 'org.codehaus.mojo:google-app-engine-maven-plugin' does > > not exist or no valid version could be found > > > I definitely need more help from you :-) > > > On Tue, Sep 28, 2010 at 3:16 AM, Ed M <[email protected]> wrote: > > > where are you supposed to run the 'mvn package' command from? > > > > If the answer is the command prompt. I'm assuming that this means one > > > has to actually download maven, not just the eclipse plugin > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Google Web Toolkit" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-web-toolkit%2Bunsubs > > > [email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- > > > Hez -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
