summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-02-25 09:09:31 -0800
committerShawn O. Pearce <sop@google.com>2009-02-25 09:09:31 -0800
commit461c2ccaaf9e8b6a96cf33696e080eb8044f30f6 (patch)
tree24e3d1e3f56e7d0ef1f44e0d2ced51181167fb82
parent1d394a581c51d7d175b00f69d30e2588822e3f4e (diff)
Support -DgwtStyle=DETAILED to support browser debugging
I hacked this in by hand into the pom.xml when debugging the ie6 issues earlier. So lets document it and make it easier to get by way of the command line. Signed-off-by: Shawn O. Pearce <sop@google.com>
-rw-r--r--Documentation/dev-readme.txt9
-rw-r--r--pom.xml2
2 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/dev-readme.txt b/Documentation/dev-readme.txt
index 35ff0bdaf3..49fcf85777 100644
--- a/Documentation/dev-readme.txt
+++ b/Documentation/dev-readme.txt
@@ -101,6 +101,15 @@ Output WAR will be placed in:
target/gerrit-*.war
====
+When debugging browser specific issues use gwtStyle `DETAILED` so
+the resulting JavaScript more closely matches the Java sources.
+For example, this can help narrow down what code line 30,400 in
+the JavaScript happens to be.
+
+====
+ mvn package -DgwtStyle=DETAILED
+====
+
Client-Server RPC
-----------------
diff --git a/pom.xml b/pom.xml
index dee9093a2f..cae665a326 100644
--- a/pom.xml
+++ b/pom.xml
@@ -254,6 +254,7 @@ limitations under the License.
<properties>
<gwtVersion>1.5.3</gwtVersion>
+ <gwtStyle>OBF</gwtStyle>
</properties>
<build>
@@ -292,6 +293,7 @@ limitations under the License.
<noServer>false</noServer>
<extraJvmArgs>-Xmx512m</extraJvmArgs>
<gwtVersion>${gwtVersion}</gwtVersion>
+ <style>${gwtStyle}</style>
</configuration>
<executions>
<execution>