19Nov/081
Google GWT Maven Archetype and GWT Debugging
Warning: file_get_contents(http://feeds.delicious.com/v2/json/urlinfo/data?url=http%3A%2F%2Fstephennimmo.com%2Fblog%2F2008%2F11%2F19%2Fgoogle-gwt-maven-archetype%2F) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 999 Unable to process request at this time -- error 999 in /home1/stephenn/public_html/blog/wp-content/plugins/digg-digg/dd.class.php on line 866
mvn archetype:create -DarchetypeGroupId=com.totsp.gwt -DarchetypeArtifactId=maven-googlewebtoolkit2-archetype -DarchetypeVersion=1.0.3 -DartifactId=foobar -DgroupId=foo.bar -DremoteRepositories=http://gwt-maven.googlecode.com/svn/trunk/mavenrepo mvn eclipse:eclipse mvn clean mvn com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt mvn com.totsp.gwt:maven-googlewebtoolkit2-plugin:debug
To set up debugging, see
http://www.screaming-penguin.com/node/7353
Goodbye Dojo. Hello GWT.
November 20th, 2008 - 12:18
I didn’t know you could run a Maven archetype like that. I suspected there had to be a better way than my manual download and install and THEN use, but didn’t know what it was.
Thanks.
I am gonna update the GWT-Maven docs to advocate this simpler approach
.