Browse Source

Explain how to use superdev mode with maven

tags/release-1.4.0
Manuel Carrasco Moñino 11 years ago
parent
commit
4771984d9e
3 changed files with 7 additions and 30 deletions
  1. 5
    0
      archetype/src/main/resources/archetype-resources/README.txt
  2. 2
    1
      devtest/README.txt
  3. 0
    29
      devtest/pom.xml

+ 5
- 0
archetype/src/main/resources/archetype-resources/README.txt View File

@@ -7,6 +7,11 @@ $ mvn clean install

- Run it in development mode:
$ mvn gwt:run
and point your browser to http://127.0.0.1:8888/${projectName}/${projectName}.html?gwt.codesvr=127.0.0.1:9997

- Run superdev mode:
$ mvn gwt:run-codeserver
and point your browser to http://127.0.0.1:9876/${projectName}/${projectName}.html

- Import and run in Eclipse:


+ 2
- 1
devtest/README.txt View File

@@ -16,7 +16,8 @@ order to speed up TDD.
- When your test was ready put it in your test class extending
GWTTestCase.


- If you prefer superdev mode run: mvn gwt:run-codeserver but
you have to be familiar with debuging in javascript and use source maps.




+ 0
- 29
devtest/pom.xml View File

@@ -31,11 +31,6 @@
<version>${gwtversion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-codeserver</artifactId>
<version>${gwtversion}</version>
</dependency>
</dependencies>
<build>
<resources>
@@ -94,30 +89,6 @@
</additionalProjectnatures>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>com.google.gwt.dev.codeserver.CodeServer</mainClass>
<arguments>
<argument>-src</argument>
<argument>src/main/java</argument>
<argument>-bindAddress</argument>
<argument>0.0.0.0</argument>
<argument>com.google.gwt.query.DevTestRunner</argument>
</arguments>
<classpathScope>compile</classpathScope>
</configuration>
</plugin>

</plugins>
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
</build>

Loading…
Cancel
Save