Using Eclipse:The Google Plugin for Eclipse automatically handles launching DevMode with a simple right click on your module gwt.xml file "run as > web application".
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
mvn archetype:generate \-DarchetypeGroupId=org.codehaus.mojo \-DarchetypeArtifactId=gwt-maven-plugin \-DarchetypeVersion=2.8.0

--
--
Use it as you would any other Maven archetype to create a template/stub project.
mvn archetype:generate \ -DarchetypeGroupId=org.codehaus.mojo \ -DarchetypeArtifactId=gwt-maven-plugin \ -DarchetypeVersion=2.8.0
The Google Plugin for Eclipse automatically handles launching DevMode with a simple right click on your module gwt.xml file "run as > web application".
But you are using the old eclipse plugin with the old maven plugin, try this tutorial https://youtu.be/xeanOpvrbBQ, and watch all other recent videos in this channel.
[https://gwt-maven-plugin.github.io/gwt-maven-plugin/user-guide/archetype.html]
Hello Ignacio,thank you for the Youtube-Link.Concerning the old GWT plugin:I am using Eclipse Neon with the corresponding GWT plugin from here:This is the official GWT plugin for Eclipse Neon. Is this outdated??
Concerning the old maven plugin:It shows how to create a Maven project using eclipse. But I'd prefer to create it outside eclipse, like shown in the documentation for Mojo's Maven plugin:[https://gwt-maven-plugin.github.io/gwt-maven-plugin/user-guide/archetype.html]Is this documentation outdated? Where can I find the new one?
Anyhow, I would prefer to create the project outside eclipse (like shown in the documentation above). How can I do that?
Usage: at least one module must be supplied
But calling "GWT Development mode" results in this message:Usage: at least one module must be suppliedI don't understand this message, because I provided a name for a module when I created the project.
--
Oh, the new tutorial it is exactly what you are looking for (https://youtu.be/Wxlh_E8uyq4).
Sounds like Eclipse / the GWT plugin can not find your *.gwt.xml files of your project. Could it be that your source folder is not correctly detected/configured in the Eclipse project? Or because you are using some Maven archetype the *.gwt.xml files live in /PROJECT_NAME/src/main/resources but that folder isn't marked as source root in your project build path settings?
You should already have a GWT run configuration after choosing on of the entries in the context menu you have shown in your previous mail. If you configure it and open the GWT section you will see that you have no available modules
mvn archetype:generate \-DarchetypeCatalog=https://oss.sonatype.org/content/repositories/snapshots/ \-DarchetypeGroupId=net.ltgt.gwt.archetypes \-DarchetypeArtifactId=modular-webapp \-DarchetypeVersion=1.0-SNAPSHOT
Add the plugin to your POM, enabling extensions to get the new packagings, and configuring your module name:Basic usage
But this is the documentation of the plugin, not the documentation of the archetype. Follow the archetype documentation, or one of the Brandon tutorial. 👍😊