Announcing GWT 2.0 Milestone 2

54 views
Skip to first unread message

John LaBanca

unread,
Oct 22, 2009, 1:43:18 PM10/22/09
to Google Web Toolkit
Hi everyone,

We are excited to release the second milestone build for GWT 2.0
today. This milestone is essentially feature complete, and provides
somewhat more stability in the various bits of core functionality that
will be coming in GWT 2.0.

Please download the distribution from:
http://code.google.com/p/google-web-toolkit/downloads/list?can=1&q=2.0+Milestone+2

Milestone 2 contains a couple new features and changes from MS1:
* Layout Panels: Layout panels have been refined since MS1. In
particular, the TabLayoutPanel has been introduced, and UiBinder has
been extended to support it and StackLayoutPanel. Layout panels use
native css, so they resize with the window smoothly (IE6 uses active
layout to achieve the same effect, but it is still fast in most
cases). When paired with UIBinder, users can create applications
faster than ever. (Read more about UiBinder under Declarative User
Interface, below.)

Breaking changes in MS2:
* The way arguments are passed to the GWT testing infrastructure has
been revamped (and changed slightly from MS1). There is now a
consistent syntax to support arbitrary "runstyles", including user-
written with no changes to GWT. Though this does not affect common
launch configs, some of the less common ones will need to be updated.
For example:
* '-selenium localhost:4444/*firefox' has become
'-runStyle Selenium:localhost:4444/*firefox'
* '-remoteweb rmi://localhost/ff3' has become
'-runStyle RemoteWeb:rmi://localhost/ff3'
* '-manual 5' has become '-runStyle Manual:5'
Note: run style names must be capitalized (ex. Selenium).

Known Issues in MS2:
* LayoutPanels only work in strict mode, but new GWT applications are
created in quirks mode by default. You must manually switch your
application to strict mode by changing the DOCTYPE at the top of your
application's html file. Existing widgets that do not work correctly
in strict mode (ex. StackPanel) now have a LayoutPanel counterpart
that does work in strict mode (ex. StackLayoutPanel).
* Connecting multiple browsers at the same time in development mode
can cause the development mode server to crash. You can avoid this by
waiting for each browser to start your app before connecting another
browser.
* If you are planning to run the webAppCreator, i18nCreator, or the
junitCreator scripts on Mac or Linux, please set the executable bits
by doing a 'chmod +x *Creator'
* Our HtmlUnit integration is still not complete. Additionally,
HtmlUnit does not do layout. So tests can fail either because they
exercise layout or they hit bugs due to incomplete integration. If you
want such tests to be ignored on HtmlUnit, please annotate the test
methods with @DoNotRunWith({Platform.Htmlunit})


To reiterate, here are a few key notes from the Milestone 1
announcement...
* Terminology changes: We're going to start using the term
"development mode" rather than the old term "hosted mode." The term
"hosted mode" was sometimes confusing to people, so we'll be using the
more descriptive term from now on. For similar reasons, we'll be using
the term "production mode" rather than "web mode" when referring to
compiled script.

* Changes to the distribution: Note that there's only one download,
and it's no longer platform-specific. You download the same zip file
for every development platform. This is made possible by the new
plugin approach used to implement development mode (see below). The
distribution file does not include the browser plugins themselves;
those are downloaded separately the first time you use development
mode in a browser that doesn't have the plugin installed.

* In-Browser Development Mode: Prior to 2.0, GWT hosted mode provided
a special-purpose "embedded browser" to debug your GWT code. In 2.0,
the web page being debugged is viewed within a standard browser.
Development mode is supported through the use of a native-code plugin
for each browser. In other words, you can use development mode
directly from Safari, Firefox, IE, and Chrome.

* Code Splitting: Developer-guided code splitting allows you to chunk
your GWT code into multiple fragments for faster startup. With code
splitting, you can arrange to load just the minimum script needed to
get the application running and the user interacting, while the rest
of the app is downloaded as needed.

* Declarative User Interface: GWT's UiBinder now allows you to create
user interfaces mostly declaratively. Previously, widgets had to be
created and assembled programmatically, requiring lots of code. Now,
you can use XML to declare your UI, making the code more readable,
easier to maintain, and faster to develop. The Mail sample has been
updated to use the new declarative UI.

* Bundling of resources (ClientBundle): GWT has shipped with
ImageBundles since GWT v1.4, giving developers automatic spriting of
images. ClientBundle generalizes this technique, bringing the power of
combining and optimizing resources into one download to things like
text files, CSS, and XML. This means fewer network round trips, which
in turn can decrease application latency -- especially on mobile
applications.

* Using HtmlUnit for running GWT tests: GWT 2.0 no longer uses SWT or
the old mozilla code (on linux) to run GWT tests. Instead, GWT 2.0 now
supports HtmlUnit as the built-in browser for testing. HtmlUnit is
100% Java. This means there is a single GWT distribution for linux,
mac, and windows, and debugging GWT Tests in development mode can be
done entirely in a Java debugger. Production mode tests can still be
run in any browser via HtmlUnit (default), manual mode, GWT's remote
web, or Selenium depending on your use of -runStyle. Development mode
tests can also be run using any browser that has the Development mode
plugin installed (HtmlUnit has it by default).


As always, remember that GWT milestone builds like this are use-at-
your-own-risk and we don't recommend it for production use. Please
report any bugs you encounter to the GWT issue tracker
(http://code.google.com/p/google-web-toolkit/issues/list) after doing
a quick search to see if your issue has already been reported.

-- John LaBanca, on behalf of the Google Web Toolkit team

Devraj Mukherjee

unread,
Oct 22, 2009, 7:37:05 PM10/22/09
to google-we...@googlegroups.com
Hi John,

Is there any documentation that goes with the milstone releases so we
can read up on howto use some of these news features?

I am particularly interested in the XML UI descriptors.

Thanks again.
--
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)

jscheller

unread,
Oct 23, 2009, 12:11:58 AM10/23/09
to Google Web Toolkit
Is there a corresponding build of the GWT Incubator library in sync
with MS2? Thanks!

Thomas Broyer

unread,
Oct 23, 2009, 5:19:44 AM10/23/09
to Google Web Toolkit


On 23 oct, 01:37, Devraj Mukherjee <dev...@gmail.com> wrote:
>
> Is there any documentation that goes with the milstone releases so we
> can read up on howto use some of these news features?
>
> I am particularly interested in the XML UI descriptors.

You can read about it here: http://code.google.com/p/google-web-toolkit/wiki/UiBinder

Other new features are also documented on the wiki: UsingOOPHM,
CodeSplitting, LayoutDesign, etc.

lowecg2004

unread,
Oct 23, 2009, 5:21:53 AM10/23/09
to Google Web Toolkit
Great work GWT team! Does this release have support for 64 bit
Windows in OOPHM?

Cheers,

Chris.

On Oct 22, 6:43 pm, John LaBanca <jlaba...@google.com> wrote:
> Hi everyone,
>
> We are excited to release the second milestone build for GWT 2.0
> today. This milestone is essentially feature complete, and provides
> somewhat more stability in the various bits of core functionality that
> will be coming in GWT 2.0.
>
> Please download the distribution from:http://code.google.com/p/google-web-toolkit/downloads/list?can=1&q=2....

Chris Ramsdale

unread,
Oct 23, 2009, 12:00:40 PM10/23/09
to Google Web Toolkit
Devraj,

As of MS2, your best bet is to check out the updated Mail sample to
see how to use some of the new 2.0 features (in particular the XML UI
descriptors). We'll have more documentation as we move closer to the
final release.

- Chris

On Oct 22, 7:37 pm, Devraj Mukherjee <dev...@gmail.com> wrote:
> Hi John,
>
> Is there any documentation that goes with the milstone releases so we
> can read up on howto use some of these news features?
>
> I am particularly interested in the XML UI descriptors.
>
> Thanks again.
>
>
>
>
>
> On Fri, Oct 23, 2009 at 4:43 AM, John LaBanca <jlaba...@google.com> wrote:
>
> > Hi everyone,
>
> > We are excited to release the second milestone build for GWT 2.0
> > today. This milestone is essentially feature complete, and provides
> > somewhat more stability in the various bits of core functionality that
> > will be coming in GWT 2.0.
>
> > Please download the distribution from:
> >http://code.google.com/p/google-web-toolkit/downloads/list?can=1&q=2....

Richard

unread,
Nov 1, 2009, 4:29:18 AM11/1/09
to Google Web Toolkit
Any rough ETA for final, or it a 'ready-when-its-ready'?

Richard

Chris Ramsdale

unread,
Nov 2, 2009, 4:39:51 PM11/2/09
to google-we...@googlegroups.com
No public ETA at this point, but with Milestone 2 behind us and a Release Candidate in front of us we're getting close. Stayed tuned for more info.

Thanks,
Chris

vinays

unread,
Nov 8, 2009, 1:12:27 AM11/8/09
to Google Web Toolkit
Why the download is marked as deprecated!

On Oct 22, 10:43 pm, John LaBanca <jlaba...@google.com> wrote:
> Hi everyone,
>
> We are excited to release the second milestone build for GWT 2.0
> today. This milestone is essentially feature complete, and provides
> somewhat more stability in the various bits of core functionality that
> will be coming in GWT 2.0.
>
> Please download the distribution from:http://code.google.com/p/google-web-toolkit/downloads/list?can=1&q=2....

Chris Ramsdale

unread,
Nov 12, 2009, 11:02:54 AM11/12/09
to google-we...@googlegroups.com
Since the build is a milestone it is marked as deprecated to keep it out of the list of releases.

--

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.



Reply all
Reply to author
Forward
0 new messages