Revision: 7510
Author: j...@google.com
Date: Fri Jan 29 09:46:22 2010
Log: Add gwt.args ant property to ant gwtc and ant devmode in ant build
files produced by webAppCreator.
Patch by: jat
Review by: fabbott, rjrjr
http://code.google.com/p/google-web-toolkit/source/detail?r=7510
Modified:
/trunk/distro-source/core/src/release_notes.html
/trunk/user/src/com/google/gwt/user/tools/project.ant.xmlsrc
=======================================
--- /trunk/distro-source/core/src/release_notes.html Wed Jan 27 16:28:12
2010
+++ /trunk/distro-source/core/src/release_notes.html Fri Jan 29 09:46:22
2010
@@ -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
=======================================
--- /trunk/user/src/com/google/gwt/user/tools/project.ant.xmlsrc Fri Jan 15
10:33:21 2010
+++ /trunk/user/src/com/google/gwt/user/tools/project.ant.xmlsrc Fri Jan 29
09:46:22 2010
@@ -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
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors