Sunday, February 26, 2017

Re: Mojo's Maven Plugin for GWT - general questions

Hi Rodolfo,

thank you for your help!

I am using the GWT plugin for eclipse since I know GWT. One goal with moving to maven is to be able to do most of the important things on the command line and to be independent of eclipse and the eclipse plugin.

But wait! Even the documentation of Mojo's Maven plugin shows how to create a GWT project with the mvn command:

Using the Archetype

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

And then it says how to use it in eclipse:

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".

[https://gwt-maven-plugin.github.io/gwt-maven-plugin/user-guide/hosted.html]


This means that it should be possible (and intended) to use existing maven projects in eclipse like shown by the docs.

I still must be doing something wrong and I hope that someone can clarify this...

Magnus


--
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-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment