Merge trunk r7510 into this branch
Add -Dgwt.args to ant build files, update release notes.
svn merge --ignore-ancestry -c 7510 \
http://google-web-toolkit.googlecode.com/svn/trunk .
git-svn-id: https://google-web-toolkit.googlecode.com/svn/releases/2.0@7511 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/branch-info.txt b/branch-info.txt
index d23d0f1..bda4406 100644
--- a/branch-info.txt
+++ b/branch-info.txt
@@ -1455,3 +1455,7 @@
Release notes for GWT 2.0.1.
svn merge -c7505 --ignore-ancestry https://google-web-toolkit.googlecode.com/svn/trunk
+trunk@7510 was merged into this branch
+ Add -Dgwt.args to ant build files, update release notes.
+ svn merge --ignore-ancestry -c 7510 \
+ http://google-web-toolkit.googlecode.com/svn/trunk .
diff --git a/distro-source/core/src/release_notes.html b/distro-source/core/src/release_notes.html
index 13bc4c4..07cd862 100644
--- a/distro-source/core/src/release_notes.html
+++ b/distro-source/core/src/release_notes.html
@@ -66,11 +66,14 @@
In GWT 2.0, such argument names were incorrectly changed to ARGn. Most GWT applications will be unaffected, but external systems relying on these names will need to be updated.
</li>
<li>The development mode server will, by default, only bind to localhost which will break cross-machine debugging. You can get the old behavior by specifying
- <code>-bindAddress 0.0.0.0</code>. Please see issue (#<a href="http://code.google.com/p/google-web-toolkit/issues/detail?id=4322">4322</a>) for more details.</li>
+ <code>-bindAddress 0.0.0.0</code>. Please see issue (#<a
+ href="http://code.google.com/p/google-web-toolkit/issues/detail?id=4322">4322</a>)
+ for more details. For webAppCreator-generated ant files, you can pass
+ this with <tt>ant -Dgwt.args="-bindAddress 0.0.0.0" devmode</tt>.</li>
<li>The CurrencyList/CurrencyData APIs are now public - if you were relying upon these classes in their non-public location, you should only need to update your
imports.</li>
</ul>
-
+
<h3>Noteworthy Fixed Issues</h3>
<ul>
<li>UiBinder Image class with resource attribute, removes styles on that image (<a href="http://code.google.com/p/google-web-toolkit/issues/detail?id=4415">#4415</a>)</li>
@@ -85,6 +88,9 @@
<li>HTMLTable.Cell.getElement() calls getCellFormatter().getElement() with row and column swapped RequestBuilder restricted to GET and POST (<a href="http://code.google.com/p/google-web-toolkit/issues/detail?id=3757">#3757</a>)</li>
<li>MenuBar steals focus when hovered (<a href="http://code.google.com/p/google-web-toolkit/issues/detail?id=3884">#3884</a>)</li>
<li>TabLayoutPanel tabs don't line up properly on IE (<a href="http://code.google.com/p/google-web-toolkit/issues/detail?id=4447">#4447</a>)</li>
+ <li>webAppCreator produces ant build files which support the gwt.args
+ property for passing additional flags to the gwtc and devmode rules,
+ such as <tt>ant -Dgwt.args="-style PRETTY" gwtc</tt>.</li>
</ul>
<p>
See the GWT issue tracker for
diff --git a/user/src/com/google/gwt/user/tools/project.ant.xmlsrc b/user/src/com/google/gwt/user/tools/project.ant.xmlsrc
index 0547a8e..07e8c5c 100644
--- a/user/src/com/google/gwt/user/tools/project.ant.xmlsrc
+++ b/user/src/com/google/gwt/user/tools/project.ant.xmlsrc
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<project name="@moduleShortName" default="build" basedir=".">
+ <!-- Arguments to gwtc and devmode targets -->
+ <property name="gwt.args" value="" />
+
<!-- Configure path to GWT SDK -->
<property name="gwt.sdk" location="@gwtSdk" />
@@ -39,6 +42,7 @@
<!-- add jvmarg -Xss16M or similar if you see a StackOverflowError -->
<jvmarg value="-Xmx256M"/>
<!-- Additional arguments like -style PRETTY or -logLevel DEBUG -->
+ <arg line="${gwt.args}"/>
<arg value="@moduleName"/>
</java>
</target>
@@ -53,6 +57,7 @@
<arg value="-startupUrl"/>
<arg value="@startupUrl"/>
<!-- Additional arguments like -style PRETTY or -logLevel DEBUG -->
+ <arg line="${gwt.args}"/>
<arg value="@moduleName"/>
</java>
</target>@antEclipseRule