On Tuesday, August 26, 2014 7:06:39 PM UTC+2, Magnus wrote:
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/ is where you'll want to start.WorkingWithMaven This document again refers to the other one: http://mojo.codehaus.org/gwt-maven-plugin/
Yes, the plugin, not necessarily the archetypes (if you don't know the difference, remember my advice to learn Maven first before trying GWT+Maven?)
The wiki specifically says:
The easiest way to get a GWT POM going is to snag one from of the GWT Maven sample projects below. There are currently issues with the gwt-maven-plugin archetypes, so a good starter POM is the best way to go until those issues are resolved.
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?
When I say "from scratch", I really mean "from scratch": create an empty file and type in (or copy/paste) the XML to form a POM.
Or, in Eclipse, create a new Maven project without using an archetype (Eclipse will then create a minimal POM for you).
IMO that's the best way to learn because you're forced to read docsI 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".
There are unique names: org.codehaus.mojo:gwt-maven-plugin is the one you should use, net.ltgt.gwt.maven:gwt-maven-plugin is the other one (and there might be others, I don't know).
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