Install GWT eclipse plugin and then use eclipse launchers to start them.
*SDM launcher:*
...
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE"
value="com.google.gwt.dev.DevMode"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS"
value="-war *YOURWRAR *-logLevel INFO -port auto -remoteUI
"${gwt_remote_ui_server_port}:${unique_id}" -codeServerPort 9997
*ENTRYPOINTHERE* "/>
...
Server launcher:
(Execute maven goals)
Regards,
Juan
On Mon, 21 Nov 2016 at 16:01 vitrums <[email protected]> wrote:
> Thank you. I tried it before, but I had a syntax error in that line
> (missed a "-" before a key).
>
> I wonder now though how to run this sample app within Eclipse with
> *gwt:devmode* goal on Jetty. Examining the modules with Project Explorer
> shows, that src/main/webapp is related to **-server* module and
> therefore, *mvn install* produces the target within this module. Hence,
> running mvn *gwt:devmode* on the project opens GWT Development Mode
> window but finds no startup URL:
>
> [WARN] No startup URLs supplied and no plausible ones found -- use
> -startupUrl
>
>
> On Monday, November 21, 2016 at 9:16:15 PM UTC+3, Juan Pablo Gardella
> wrote:
>
> Did you try?
>
> mvn archetype:generate \
>
> -DarchetypeCatalog=https://oss.sonatype.org/content/repositories/snapshots/ \
> -DarchetypeGroupId=net.ltgt.gwt.archetypes \
> -DarchetypeArtifactId=moduler-webapp \
> -DarchetypeVersion=1.0-SNAPSHOT
>
>
>
> On Mon, 21 Nov 2016 at 14:48 vitrums <[email protected]> wrote:
>
> In the latest GWT 2.8.0 distribution *webAppCreator *tool generates *pom.xml
> *for a sample project from
> *com\google\gwt\user\tools\templates\maven\pom.xmlsrc* located in
> *gwt-user.jar*. The *groupId* for *gwt-maven-plugin* is now set as
> *net.ltgt.gwt.maven*. According to
> https://tbroyer.github.io/gwt-maven-plugin/index.html this project
> disctincts itself from *Mojo's Maven Plugin for GWT*
> https://gwt-maven-plugin.github.io/gwt-maven-plugin/index.html. The
> provided documentation is very succinct compared to Mojo's; it says little
> if anything about multi-moduling (provides a link at
> https://github.com/tbroyer/gwt-maven-archetypes/, which I can't get my
> head around... simply how to use it). According to the site the latest
> update was made in Jan, while the Mojo's docs were updated in Oct. of this
> year. And I could find a ready to use example of multi-module GWT app with
> maven at https://github.com/steinsag/gwt-maven-example, which
> unfortunately uses *org.codehaus.mojo's gwt-maven-plugin*. May be I can
> adapt this solution to use *net.ltgt.gwt.maven **gwt-maven-plugin *somehow,
> or what should I do?
>
> --
> 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 [email protected].
>
> To post to this group, send email to [email protected].
>
>
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.