Yes, I do everything from command line with maven
to run war file
- mvn jetty:run-war -Djetty.port=8095 -DskipTests=true
to run code server
- mvn gwt:run-codeserver
gwt maven plugin settings
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>${VERSION.GWT}</version>
<configuration>
<runTarget>MyPage.html</runTarget>
<module>com.mycompany.EntryPoint</module>
<sourceLevel>1.7</sourceLevel>
<port>8095</port>
<codeServerWorkDir>${project.build.directory}</codeServerWorkDir>
<logLevel>INFO</logLevel>
<extraJvmArgs>-Xmx1024M -Xms256M</extraJvmArgs>
<gwtSdkFirstInClasspath>true</gwtSdkFirstInClasspath>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>${VERSION.GWT}</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-codeserver</artifactId>
<version>${VERSION.GWT}</version>
</dependency>
</dependencies>
</plugin>
And because I use gwt 2.6 - gwt settings:
<add-linker name="xsiframe"/>
<set-configuration-property name="devModeRedirectEnabled" value="true"/>
<set-configuration-property name='xsiframe.failIfScriptTag' value='false'/>
--
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.