Tuesday, August 26, 2014

Re: Moving to Maven

Maven has archetypes, which are basically project templates [1]. The GWT plugin has a simple archetypes, this is also explained on the plugin page [2]. Thomas created archetypes for a more complex project setup [3].

I found Google's sample projects really helpful to get started with Maven+GWT [4], [5].

Regards,
Stefan

[1] http://maven.apache.org/guides/introduction/introduction-to-archetypes.html
[2] http://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.html
[3] https://github.com/tbroyer/gwt-maven-archetypes
[4] https://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/
[5] https://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/mobilewebapp/


Am 26.08.2014 19:06, schrieb Magnus:
Hi Thomas!

On Tuesday, August 26, 2014 10:32:48 AM UTC+2, Thomas Broyer wrote:
Where is a tutorial that gets me started?

I don't know about a "tutorial" per se, but for me https://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven is where you'll want to start.
 
This document again refers to the other one: http://mojo.codehaus.org/gwt-maven-plugin/

Given that you already know GWT, I'd start "from scratch": create the POM manually and add things incrementally until you reach a point where you have something usable.

Ok, but at the very beginning, I need a tutorial that shows the steps to create a new project, i. e. what actually are the commands to "create the POM manually":
In essence: Which maven command creates a hello world GWT app?

IMO that's the best way to learn because you're forced to read docs

I agree, but I need docs. As a maven beginner it's very frustrating that there are several GWT plugins for maven, and that there are no unique names, so that you can tell "plugin XXX is good, but plugin YYY is bad".

Magnus

 
and other projects and understand what you're doing; it takes longer but at least you should know how everything's tied together. YMMV though, but then I'm not the right person to ask for advice ;-)
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment