From 4771984d9ee4f142441ff7956b11af6ac2832a3d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20Carrasco=20Mo=C3=B1ino?= Date: Sat, 16 Mar 2013 11:52:38 +0100 Subject: [PATCH] Explain how to use superdev mode with maven --- .../resources/archetype-resources/README.txt | 5 ++++ devtest/README.txt | 3 +- devtest/pom.xml | 29 ------------------- 3 files changed, 7 insertions(+), 30 deletions(-) diff --git a/archetype/src/main/resources/archetype-resources/README.txt b/archetype/src/main/resources/archetype-resources/README.txt index 52c178a6..128fb294 100644 --- a/archetype/src/main/resources/archetype-resources/README.txt +++ b/archetype/src/main/resources/archetype-resources/README.txt @@ -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: diff --git a/devtest/README.txt b/devtest/README.txt index 54b9d5a3..5823641a 100644 --- a/devtest/README.txt +++ b/devtest/README.txt @@ -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. diff --git a/devtest/pom.xml b/devtest/pom.xml index f966c5ca..7c32ffee 100644 --- a/devtest/pom.xml +++ b/devtest/pom.xml @@ -31,11 +31,6 @@ ${gwtversion} provided - - com.google.gwt - gwt-codeserver - ${gwtversion} - @@ -94,30 +89,6 @@ - - org.codehaus.mojo - exec-maven-plugin - 1.2.1 - - - - java - - - - - com.google.gwt.dev.codeserver.CodeServer - - -src - src/main/java - -bindAddress - 0.0.0.0 - com.google.gwt.query.DevTestRunner - - compile - - - ${project.build.directory}/${project.build.finalName}/WEB-INF/classes -- 2.39.5